Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 175.5 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009126/0.0009125, allocations: 90.62 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2057/0.2057, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.15e-05, allocations: 0 / 418.3 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1902, allocations: 58.87 MB / 477.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4511/0.6414, allocations: 83.81 MB / 0.5479 GB, free: 8.883 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.6418, allocations: 68.66 kB / 0.5479 GB, free: 8.883 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008261/0.65, allocations: 3.005 MB / 0.5509 GB, free: 7.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6501, allocations: 0 / 0.5509 GB, free: 7.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.6501, allocations: 0 / 0.5509 GB, free: 7.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002671/0.6504, allocations: 366.2 kB / 0.5512 GB, free: 7.332 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.6504, allocations: 8.031 kB / 0.5512 GB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.6505, allocations: 12.53 kB / 0.5512 GB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.779e-05/0.6506, allocations: 170.8 kB / 0.5514 GB, free: 7.109 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.6506, allocations: 4 kB / 0.5514 GB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.6506, allocations: 4 kB / 0.5514 GB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.886e-05/0.6507, allocations: 23.61 kB / 0.5514 GB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.225e-05/0.6508, allocations: 45.38 kB / 0.5515 GB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.6508, allocations: 4 kB / 0.5515 GB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.6508, allocations: 0.75 kB / 0.5515 GB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.6508, allocations: 0 / 0.5515 GB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.651, allocations: 152.8 kB / 0.5516 GB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.6512, allocations: 54.12 kB / 0.5517 GB, free: 6.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.6512, allocations: 20.17 kB / 0.5517 GB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.6515, allocations: 116.9 kB / 0.5518 GB, free: 6.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.6515, allocations: 38.78 kB / 0.5518 GB, free: 6.602 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.324e-06/0.6515, allocations: 7.922 kB / 0.5519 GB, free: 6.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.1143/0.7658, allocations: 5.451 MB / 0.5572 GB, free: 1.348 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.7659, allocations: 55.41 kB / 0.5572 GB, free: 1.281 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.766, allocations: 96.44 kB / 0.5573 GB, free: 1.184 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.766, allocations: 25.7 kB / 0.5573 GB, free: 1.152 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.7661, allocations: 80.14 kB / 0.5574 GB, free: 1.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.904e-05/0.7662, allocations: 62.28 kB / 0.5575 GB, free: 1.016 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.7662, allocations: 0 / 0.5575 GB, free: 1.016 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.7663, allocations: 318.1 kB / 0.5578 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.7665, allocations: 188.6 kB / 0.558 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.7667, allocations: 184.8 kB / 0.5581 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009623/0.7677, allocations: 285.4 kB / 0.5584 GB, free: 296 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7677, allocations: 4 kB / 0.5584 GB, free: 292 kB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001395/0.7691, allocations: 0.5665 MB / 0.559 GB, free: 15.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.7692, allocations: 11.28 kB / 0.559 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.7692, allocations: 0 / 0.559 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.7692, allocations: 0 / 0.559 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006582/0.7699, allocations: 111.8 kB / 0.5591 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.7699, allocations: 0 / 0.5591 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/0.7703, allocations: 35.95 kB / 0.5591 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.7704, allocations: 35.25 kB / 0.5592 GB, free: 15.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.7705, allocations: 108.9 kB / 0.5593 GB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0015/0.772, allocations: 0.5689 MB / 0.5598 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.7721, allocations: 7.906 kB / 0.5598 GB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.7739, allocations: 0.6901 MB / 0.5605 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7739, allocations: 0 / 0.5605 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.7739, allocations: 0 / 0.5605 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.7739, allocations: 0 / 0.5605 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/0.7775, allocations: 1.121 MB / 0.5616 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.7775, allocations: 8.188 kB / 0.5616 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/0.7781, allocations: 111.4 kB / 0.5617 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.7781, allocations: 4 kB / 0.5617 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.7781, allocations: 23.95 kB / 0.5617 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.7781, allocations: 7.953 kB / 0.5617 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.7781, allocations: 3.938 kB / 0.5617 GB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.7795, allocations: 0.6141 MB / 0.5623 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.7796, allocations: 85.02 kB / 0.5624 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.7796, allocations: 4 kB / 0.5624 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.7801, allocations: 31.95 kB / 0.5625 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.7801, allocations: 20.06 kB / 0.5625 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.7802, allocations: 31.45 kB / 0.5625 GB, free: 12.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.565e-05/0.7802, allocations: 83.22 kB / 0.5626 GB, free: 12.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7802, allocations: 0 / 0.5626 GB, free: 12.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00181/0.7821, allocations: 0.6246 MB / 0.5632 GB, free: 11.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004395/0.7865, allocations: 1.791 MB / 0.5649 GB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005799/0.7871, allocations: 362 kB / 0.5653 GB, free: 9.887 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.7871, allocations: 0 / 0.5653 GB, free: 9.887 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.7873, allocations: 166 kB / 0.5654 GB, free: 9.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.7875, allocations: 8.375 kB / 0.5655 GB, free: 9.754 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.7902, allocations: 0.5787 MB / 0.566 GB, free: 9.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.7905, allocations: 0.6926 MB / 0.5667 GB, free: 8.441 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005497/0.7911, allocations: 124.9 kB / 0.5668 GB, free: 8.316 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.7914, allocations: 102.8 kB / 0.5669 GB, free: 8.227 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.7914, allocations: 0 / 0.5669 GB, free: 8.227 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05545/0.8469, allocations: 21.22 MB / 0.5876 GB, free: 2.988 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.8471, allocations: 152.6 kB / 0.5878 GB, free: 2.797 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.869, allocations: 3.281 kB / 0.5878 GB, free: 2.797 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat