Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 230.5 MB / 254.7 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1143, allocations: 53.31 MB / 426.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002676/0.1169, allocations: 1.51 MB / 428.4 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008831/0.1178, allocations: 0.5065 MB / 428.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.1179, allocations: 0 / 428.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.1179, allocations: 7.875 kB / 428.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.414e-05/0.118, allocations: 15.86 kB / 428.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.1182, allocations: 35.89 kB / 428.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1184, allocations: 79.64 kB / 429 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.587e-05/0.1185, allocations: 192 / 429 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.1187, allocations: 47.78 kB / 429.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.935e-05/0.1188, allocations: 31.91 kB / 429.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1188, allocations: 4 kB / 429.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.64e-05/0.1189, allocations: 11.98 kB / 429.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.1189, allocations: 11.94 kB / 429.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.1189, allocations: 31.84 kB / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1191, allocations: 59.73 kB / 429.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1191, allocations: 0 / 429.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1191, allocations: 4 kB / 429.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.1191, allocations: 0 / 429.2 MB, free: 2.484 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000688/0.1198, allocations: 399.1 kB / 429.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1198, allocations: 8.031 kB / 429.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/0.1199, allocations: 30.75 kB / 429.6 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.1202, allocations: 40.8 kB / 429.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1205, allocations: 188.2 kB / 429.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-06/0.1205, allocations: 4.312 kB / 429.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.1205, allocations: 4.375 kB / 429.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.1207, allocations: 88.16 kB / 430 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1207, allocations: 0 / 430 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1208, allocations: 0 / 430 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1208, allocations: 4 kB / 430 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.121, allocations: 63.88 kB / 430 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.1212, allocations: 183.5 kB / 430.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.1215, allocations: 99.73 kB / 430.3 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.1216, allocations: 50.61 kB / 430.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1217, allocations: 7.938 kB / 430.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.1217, allocations: 34.56 kB / 430.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1217, allocations: 3.938 kB / 430.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005077/0.1222, allocations: 145.8 kB / 430.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.275e-05/0.1223, allocations: 102.8 kB / 430.6 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1224, allocations: 132.5 kB / 430.8 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1224, allocations: 25.7 kB / 430.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.1225, allocations: 88.14 kB / 430.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.1225, allocations: 19.88 kB / 430.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.1225, allocations: 17.72 kB / 430.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1227, allocations: 326.9 kB / 431.2 MB, free: 192 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1228, allocations: 27.97 kB / 431.3 MB, free: 164 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1229, allocations: 50.55 kB / 431.3 MB, free: 104 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/0.1232, allocations: 82.45 kB / 431.4 MB, free: 12 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1232, allocations: 0 / 431.4 MB, free: 12 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.2209/0.3441, allocations: 113 kB / 431.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.3441, allocations: 5.469 kB / 431.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3441, allocations: 2.75 kB / 431.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.3442, allocations: 2 kB / 431.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3443, allocations: 23.61 kB / 431.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3443, allocations: 1.172 kB / 431.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.3444, allocations: 11.64 kB / 431.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3444, allocations: 3.031 kB / 431.6 MB, free: 11.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.172e-05/0.3445, allocations: 121.7 kB / 431.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.3446, allocations: 12.78 kB / 431.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.3446, allocations: 10.84 kB / 431.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-06/0.3446, allocations: 2.344 kB / 431.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3446, allocations: 1.031 kB / 431.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3446, allocations: 2.453 kB / 431.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.3447, allocations: 179.2 kB / 431.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3447, allocations: 0.5625 kB / 431.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3449, allocations: 22.36 kB / 431.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3449, allocations: 1.875 kB / 431.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3449, allocations: 5.594 kB / 431.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3449, allocations: 1.344 kB / 431.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3449, allocations: 1.734 kB / 431.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.3452, allocations: 148 kB / 432.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.018e-05/0.3452, allocations: 90.72 kB / 432.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.3452, allocations: 4.969 kB / 432.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-05/0.3453, allocations: 17.19 kB / 432.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.3454, allocations: 2.969 kB / 432.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.3454, allocations: 4.328 kB / 432.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.941e-05/0.3455, allocations: 103.5 kB / 432.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3455, allocations: 0 / 432.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002055/0.3457, allocations: 13.94 kB / 432.3 MB, free: 10.47 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004871/0.3462, allocations: 0.6756 MB / 433 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003163/0.3465, allocations: 69.91 kB / 433 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3465, allocations: 0.5938 kB / 433 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.3466, allocations: 38.09 kB / 433.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.3468, allocations: 8.969 kB / 433.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.3484, allocations: 1.459 MB / 434.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.3485, allocations: 0.6879 MB / 435.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.816e-05/0.3485, allocations: 10.17 kB / 435.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.883e-05/0.3486, allocations: 18.09 kB / 435.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3486, allocations: 1 kB / 435.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.3732, allocations: 1.767 MB / 437 MB, free: 7.652 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.462, allocations: 8.703 kB / 437 MB, free: 7.648 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.819275026209652] Failed to read output from testmodel.py, exit status != 0: ['time', 'sinc.y', 'expSine1.y', 'expSine2.y'] 8.532637785188854 8.553415272 8.430745351 Calling exit ...