Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.001734/0.001739, allocations: 187.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 222.5 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 102.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3002/0.3002, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004607/0.0004608, allocations: 15.98 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1267, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0007939/0.1275, allocations: 268.6 kB / 490.6 MB, free: 8.977 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002732/0.1278, allocations: 57.47 kB / 490.6 MB, free: 8.922 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.1279, allocations: 11.94 kB / 490.6 MB, free: 8.91 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.1279, allocations: 3.938 kB / 490.6 MB, free: 8.906 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.1281, allocations: 7.984 kB / 490.7 MB, free: 8.898 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.251e-05/0.1282, allocations: 4 kB / 490.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 3.849e-05/0.1282, allocations: 0 / 490.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.1283, allocations: 0 / 490.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.207e-05/0.1283, allocations: 7.984 kB / 490.7 MB, free: 8.887 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.1283, allocations: 7.938 kB / 490.7 MB, free: 8.879 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1284, allocations: 0 / 490.7 MB, free: 8.879 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.99e-05/0.1285, allocations: 23.97 kB / 490.7 MB, free: 8.855 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.344e-06/0.1285, allocations: 4 kB / 490.7 MB, free: 8.852 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.1285, allocations: 25.7 kB / 490.7 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.598e-05/0.1286, allocations: 7.984 kB / 490.7 MB, free: 8.812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.1286, allocations: 0 / 490.7 MB, free: 8.812 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1286, allocations: 0 / 490.7 MB, free: 8.812 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1286, allocations: 4 kB / 490.7 MB, free: 8.809 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00032/0.129, allocations: 315.3 kB / 491 MB, free: 8.453 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.129, allocations: 12.09 kB / 491.1 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.048e-05/0.1291, allocations: 34.56 kB / 491.1 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.1291, allocations: 0 / 491.1 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1292, allocations: 167.3 kB / 491.3 MB, free: 8.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1293, allocations: 4 kB / 491.3 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.1293, allocations: 3.938 kB / 491.3 MB, free: 8.188 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1294, allocations: 41.62 kB / 491.3 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1294, allocations: 0 / 491.3 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1295, allocations: 0 / 491.3 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1295, allocations: 0 / 491.3 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.1295, allocations: 4 kB / 491.3 MB, free: 8.137 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.1297, allocations: 165.5 kB / 491.5 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.13, allocations: 42.55 kB / 491.5 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000552/0.1306, allocations: 125.2 kB / 491.6 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.1306, allocations: 42.55 kB / 491.7 MB, free: 7.684 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.1306, allocations: 0 / 491.7 MB, free: 7.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.002179/0.1328, allocations: 213.4 kB / 491.9 MB, free: 7.469 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.1329, allocations: 55.41 kB / 491.9 MB, free: 7.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.133, allocations: 89.86 kB / 492 MB, free: 7.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.133, allocations: 25.7 kB / 492.1 MB, free: 7.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.1331, allocations: 154.6 kB / 492.2 MB, free: 7.121 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.1331, allocations: 11.81 kB / 492.2 MB, free: 7.109 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.1331, allocations: 0 / 492.2 MB, free: 7.109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1333, allocations: 318.8 kB / 492.5 MB, free: 6.789 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1334, allocations: 28.11 kB / 492.6 MB, free: 6.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1336, allocations: 23.98 kB / 492.6 MB, free: 6.738 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.1338, allocations: 19.98 kB / 492.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1338, allocations: 4 kB / 492.6 MB, free: 6.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003698/0.1342, allocations: 89.59 kB / 492.7 MB, free: 6.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1342, allocations: 7.438 kB / 492.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1342, allocations: 0 / 492.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1342, allocations: 0 / 492.7 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.1345, allocations: 15.98 kB / 492.7 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1345, allocations: 0 / 492.7 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.1347, allocations: 15.98 kB / 492.7 MB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1347, allocations: 0 / 492.7 MB, free: 6.586 MB / 330.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 () * 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.0001054/0.1348, allocations: 121.8 kB / 492.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.1348, allocations: 3.906 kB / 492.8 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.1353, allocations: 101.1 kB / 492.9 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1353, allocations: 0 / 492.9 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1353, allocations: 0 / 492.9 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1353, allocations: 4.219 kB / 493 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.1365, allocations: 383.2 kB / 493.3 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1365, allocations: 0 / 493.3 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.1367, allocations: 19.98 kB / 493.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.1367, allocations: 4.297 kB / 493.4 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1367, allocations: 4.031 kB / 493.4 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.1367, allocations: 8 kB / 493.4 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1368, allocations: 0 / 493.4 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.1372, allocations: 198 kB / 493.6 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.1372, allocations: 77.11 kB / 493.6 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.1373, allocations: 4 kB / 493.6 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.1375, allocations: 11.92 kB / 493.6 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.1375, allocations: 4 kB / 493.7 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1375, allocations: 3.953 kB / 493.7 MB, free: 5.539 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.428e-05/0.1376, allocations: 75.28 kB / 493.7 MB, free: 5.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1376, allocations: 4.094 kB / 493.7 MB, free: 5.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.1379, allocations: 12 kB / 493.7 MB, free: 5.449 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0008039/0.1387, allocations: 0.8013 MB / 494.5 MB, free: 4.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003575/0.1391, allocations: 51.91 kB / 494.6 MB, free: 4.566 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1391, allocations: 4 kB / 494.6 MB, free: 4.562 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.1393, allocations: 27.97 kB / 494.6 MB, free: 4.535 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.1395, allocations: 15.56 kB / 494.6 MB, free: 4.523 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008151/0.1403, allocations: 194.9 kB / 494.8 MB, free: 4.281 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1407, allocations: 0.6848 MB / 495.5 MB, free: 3.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.201e-05/0.1407, allocations: 11.42 kB / 495.5 MB, free: 3.559 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1407, allocations: 0 / 495.5 MB, free: 3.559 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.563/2.704, allocations: 0.8472 MB / 496.4 MB, free: 2.711 MB / 330.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat