Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000784/0.0007841, allocations: 99.38 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008402/0.0008402, allocations: 196.6 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2031/0.2031, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1244, allocations: 63.48 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0006357/0.1251, allocations: 250.9 kB / 481.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006629/0.1258, allocations: 377.8 kB / 482.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.1258, allocations: 0 / 482.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.1258, allocations: 4 kB / 482.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.133e-05/0.1259, allocations: 4 kB / 482.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.1262, allocations: 99.77 kB / 482.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.259e-05/0.1263, allocations: 27.92 kB / 482.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.1264, allocations: 0 / 482.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.089e-05/0.1264, allocations: 11.92 kB / 482.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.424e-05/0.1265, allocations: 27.84 kB / 482.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.1265, allocations: 0 / 482.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.1267, allocations: 151.8 kB / 482.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.1267, allocations: 7.922 kB / 482.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.1268, allocations: 33.7 kB / 482.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.1269, allocations: 79.88 kB / 482.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1269, allocations: 0 / 482.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1269, allocations: 0 / 482.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1269, allocations: 0 / 482.7 MB, free: 4.199 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003874/0.1273, allocations: 355.5 kB / 483 MB, free: 3.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1274, allocations: 8.031 kB / 483.1 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.1274, allocations: 38.55 kB / 483.1 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.1275, allocations: 8 kB / 483.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1276, allocations: 178.8 kB / 483.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.1276, allocations: 0 / 483.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1276, allocations: 8 kB / 483.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1278, allocations: 53.61 kB / 483.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1278, allocations: 0 / 483.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1278, allocations: 4 kB / 483.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1278, allocations: 0 / 483.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.539e-05/0.1279, allocations: 27.92 kB / 483.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.1281, allocations: 177.6 kB / 483.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.1283, allocations: 50.56 kB / 483.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.1283, allocations: 28.84 kB / 483.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.1286, allocations: 121.3 kB / 483.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.1286, allocations: 34.5 kB / 483.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.1286, allocations: 0 / 483.8 MB, free: 2.938 MB / 350.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.1157/0.2444, allocations: 6.62 MB / 490.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.2445, allocations: 51.41 kB / 490.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.2446, allocations: 105.8 kB / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.2446, allocations: 25.7 kB / 490.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.534e-05/0.2447, allocations: 88.14 kB / 490.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.449e-05/0.2448, allocations: 59.11 kB / 490.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.2448, allocations: 0 / 490.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2449, allocations: 326.8 kB / 491 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.2455, allocations: 239.8 kB / 491.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.246, allocations: 251.8 kB / 491.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.2471, allocations: 295.8 kB / 491.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2471, allocations: 0 / 491.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001816/0.2489, allocations: 0.6362 MB / 492.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.2489, allocations: 4.469 kB / 492.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.249, allocations: 4 kB / 492.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.249, allocations: 4 kB / 492.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/0.2496, allocations: 115.8 kB / 492.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2496, allocations: 0 / 492.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.2501, allocations: 43.84 kB / 492.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.2501, allocations: 31.94 kB / 492.6 MB, free: 9.988 MB / 366.1 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 () * Number of clocked 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.0001468/0.2503, allocations: 121.8 kB / 492.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.2503, allocations: 11.84 kB / 492.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.2525, allocations: 0.7596 MB / 493.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2526, allocations: 0 / 493.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2526, allocations: 0 / 493.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2526, allocations: 0 / 493.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.2565, allocations: 1.239 MB / 494.8 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2565, allocations: 0 / 494.8 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/0.2571, allocations: 100 kB / 494.9 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.2571, allocations: 11.98 kB / 494.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.2571, allocations: 27.95 kB / 494.9 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.2572, allocations: 4 kB / 494.9 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2572, allocations: 3.938 kB / 494.9 MB, free: 7.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.2588, allocations: 0.6078 MB / 495.5 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.2589, allocations: 85.02 kB / 495.6 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.2589, allocations: 15.95 kB / 495.6 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.2593, allocations: 31.95 kB / 495.6 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.2594, allocations: 19.92 kB / 495.7 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.2594, allocations: 27.95 kB / 495.7 MB, free: 6.785 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.536e-05/0.2595, allocations: 87.28 kB / 495.8 MB, free: 6.699 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2595, allocations: 0 / 495.8 MB, free: 6.699 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001817/0.2613, allocations: 0.6406 MB / 496.4 MB, free: 6.059 MB / 366.1 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 () * Number of clocked 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.004994/0.2663, allocations: 1.342 MB / 497.8 MB, free: 4.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.2676, allocations: 483.5 kB / 498.2 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2676, allocations: 0 / 498.2 MB, free: 4.199 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000556/0.2682, allocations: 223.3 kB / 498.4 MB, free: 3.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.2685, allocations: 18.5 kB / 498.5 MB, free: 3.969 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.2716, allocations: 0.6695 MB / 499.1 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.2719, allocations: 0.7006 MB / 499.8 MB, free: 2.508 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005667/0.2725, allocations: 124.9 kB / 500 MB, free: 2.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000316/0.2728, allocations: 99.28 kB / 0.4883 GB, free: 2.285 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2728, allocations: 0 / 0.4883 GB, free: 2.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2664/0.5392, allocations: 57.9 MB / 0.5449 GB, free: 13.05 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001273/0.5394, allocations: 205.6 kB / 0.5451 GB, free: 12.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/2.686, allocations: 0 / 0.5451 GB, free: 12.8 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat