Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000927/0.0009271, allocations: 93.3 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009001/0.0009002, allocations: 185.8 kB / 17.87 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 223.2 MB / 241.8 MB, free: 388 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2229/0.2229, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 12 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 61.91 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0005579/0.136, allocations: 230.9 kB / 471.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002528/0.1363, allocations: 87.78 kB / 471.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.569e-05/0.1363, allocations: 0 / 471.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.187e-05/0.1363, allocations: 0 / 471.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.187e-05/0.1364, allocations: 0 / 471.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.1365, allocations: 19.92 kB / 471.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.939e-05/0.1366, allocations: 4 kB / 471.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.1366, allocations: 3.984 kB / 471.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.534e-05/0.1367, allocations: 7.984 kB / 471.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.1367, allocations: 7.938 kB / 471.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1367, allocations: 0 / 471.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.238e-05/0.1368, allocations: 31.95 kB / 471.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.1368, allocations: 4 kB / 471.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.1369, allocations: 25.7 kB / 471.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.152e-05/0.1369, allocations: 15.98 kB / 472 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1369, allocations: 3.938 kB / 472 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1369, allocations: 4 kB / 472 MB, free: 13.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.137, allocations: 0 / 472 MB, free: 13.22 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003633/0.1373, allocations: 323.4 kB / 472.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1374, allocations: 8.031 kB / 472.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.1374, allocations: 34.56 kB / 472.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/0.1374, allocations: 0 / 472.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.1376, allocations: 163.3 kB / 472.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1376, allocations: 3.938 kB / 472.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.1376, allocations: 15.95 kB / 472.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.1378, allocations: 55.41 kB / 472.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1378, allocations: 0 / 472.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1378, allocations: 0 / 472.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1378, allocations: 0 / 472.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.1378, allocations: 12 kB / 472.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.1382, allocations: 336.9 kB / 472.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.806e-05/0.1382, allocations: 26.58 kB / 472.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.1382, allocations: 0 / 472.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1383, allocations: 34.5 kB / 473 MB, free: 12.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1383, allocations: 0 / 473 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001644/0.1384, allocations: 57.72 kB / 473 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.1385, allocations: 55.41 kB / 473.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.1386, allocations: 97.84 kB / 473.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1386, allocations: 29.7 kB / 473.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.1386, allocations: 88.12 kB / 473.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/0.1386, allocations: 7.812 kB / 473.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.1387, allocations: 0 / 473.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1388, allocations: 314.8 kB / 473.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/0.1388, allocations: 7.984 kB / 473.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.1388, allocations: 21.72 kB / 473.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.456e-05/0.1389, allocations: 8.125 kB / 473.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1389, allocations: 0 / 473.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.86e-05/0.139, allocations: 61.77 kB / 473.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.139, allocations: 7.938 kB / 473.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.139, allocations: 48 / 473.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.139, allocations: 7.984 kB / 473.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.1391, allocations: 7.984 kB / 473.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1391, allocations: 4 kB / 473.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.1391, allocations: 3.906 kB / 473.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.1391, allocations: 4.031 kB / 473.7 MB, free: 11.22 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.0001076/0.1393, allocations: 122.2 kB / 473.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.1393, allocations: 3.953 kB / 473.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.1394, allocations: 61.19 kB / 473.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1394, allocations: 0 / 473.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1394, allocations: 0 / 473.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1394, allocations: 3.984 kB / 473.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.1396, allocations: 153.7 kB / 474.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1397, allocations: 3.984 kB / 474.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.1397, allocations: 8 kB / 474.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.1397, allocations: 7.953 kB / 474.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1397, allocations: 192 / 474.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1397, allocations: 7.938 kB / 474.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1397, allocations: 0 / 474.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.1399, allocations: 143.5 kB / 474.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.1399, allocations: 81.02 kB / 474.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.1399, allocations: 11.95 kB / 474.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.567e-05/0.14, allocations: 4 kB / 474.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.14, allocations: 3.984 kB / 474.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.14, allocations: 4 kB / 474.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.005e-05/0.1401, allocations: 75.28 kB / 474.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1401, allocations: 3.938 kB / 474.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.1403, allocations: 4 kB / 474.4 MB, free: 10.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0004337/0.1408, allocations: 0.6852 MB / 475.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.277e-05/0.1409, allocations: 27.98 kB / 475.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1409, allocations: 0 / 475.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.1409, allocations: 11.94 kB / 475.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.1411, allocations: 11.89 kB / 475.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.1414, allocations: 152.4 kB / 475.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.1417, allocations: 0.6809 MB / 476 MB, free: 8.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.902e-05/0.1417, allocations: 0 / 476 MB, free: 8.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.1418, allocations: 11.44 kB / 476 MB, free: 8.754 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1418, allocations: 0 / 476 MB, free: 8.754 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.1524, allocations: 1.056 MB / 477 MB, free: 7.84 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002872/0.1527, allocations: 188.7 kB / 477.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/1.837, allocations: 8 kB / 477.2 MB, free: 7.594 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat