Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009924/0.0009922, allocations: 96.88 kB / 17.01 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 194.1 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 45.92 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002576/0.0002578, allocations: 11.94 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1191, allocations: 63.46 MB / 481.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0005148/0.1197, allocations: 218.9 kB / 481.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002729/0.12, allocations: 102.4 kB / 481.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.12, allocations: 8 kB / 482 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.157e-06/0.12, allocations: 0 / 482 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1202, allocations: 7.922 kB / 482 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.734e-05/0.1202, allocations: 8 kB / 482 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.486e-05/0.1203, allocations: 3.984 kB / 482 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.1203, allocations: 4 kB / 482 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.693e-05/0.1203, allocations: 3.938 kB / 482 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.736e-05/0.1204, allocations: 0 / 482 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.1204, allocations: 3.938 kB / 482 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.198e-05/0.1205, allocations: 23.97 kB / 482 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-06/0.1205, allocations: 4 kB / 482 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.1205, allocations: 25.7 kB / 482 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.706e-05/0.1206, allocations: 15.98 kB / 482.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1206, allocations: 0 / 482.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1206, allocations: 0 / 482.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.105e-06/0.1206, allocations: 0 / 482.1 MB, free: 4.82 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002822/0.1209, allocations: 315.4 kB / 482.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1209, allocations: 8.031 kB / 482.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.121, allocations: 30.56 kB / 482.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.966e-05/0.121, allocations: 0 / 482.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.1211, allocations: 175 kB / 482.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1211, allocations: 0 / 482.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1212, allocations: 4 kB / 482.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.1212, allocations: 33.69 kB / 482.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1213, allocations: 0 / 482.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1213, allocations: 3.984 kB / 482.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1213, allocations: 4 kB / 482.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.322e-05/0.1213, allocations: 8 kB / 482.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.1215, allocations: 157.8 kB / 482.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1217, allocations: 46.55 kB / 482.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.1217, allocations: 16.86 kB / 482.8 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003501/0.1221, allocations: 129.1 kB / 483 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1221, allocations: 30.56 kB / 483 MB, free: 3.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1221, allocations: 0 / 483 MB, free: 3.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001177/0.1233, allocations: 217.4 kB / 483.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.1233, allocations: 55.34 kB / 483.3 MB, free: 3.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.768e-05/0.1234, allocations: 93.86 kB / 483.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1234, allocations: 25.7 kB / 483.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.1235, allocations: 80.14 kB / 483.5 MB, free: 3.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.1235, allocations: 19.8 kB / 483.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-06/0.1235, allocations: 0 / 483.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1236, allocations: 318.9 kB / 483.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/0.1237, allocations: 27.92 kB / 483.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.909e-05/0.1238, allocations: 23.98 kB / 483.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.1239, allocations: 23.98 kB / 483.9 MB, free: 2.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1239, allocations: 7.938 kB / 483.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001897/0.1241, allocations: 85.56 kB / 484 MB, free: 2.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1241, allocations: 8 kB / 484 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1241, allocations: 0 / 484 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.1241, allocations: 0 / 484 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1243, allocations: 15.98 kB / 484 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1243, allocations: 4 kB / 484 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.1244, allocations: 7.984 kB / 484 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1244, allocations: 4 kB / 484 MB, free: 2.637 MB / 350.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 (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 7.927e-05/0.1245, allocations: 113.8 kB / 484.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.1245, allocations: 4 kB / 484.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.1247, allocations: 101.1 kB / 484.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1248, allocations: 0 / 484.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1248, allocations: 0 / 484.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1248, allocations: 0 / 484.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006907/0.1255, allocations: 371.3 kB / 484.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1255, allocations: 0 / 484.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.734e-05/0.1256, allocations: 24.33 kB / 484.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1256, allocations: 4 kB / 484.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1256, allocations: 0 / 484.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.1256, allocations: 4 kB / 484.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1256, allocations: 0 / 484.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.1259, allocations: 192.3 kB / 484.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/0.1259, allocations: 85.02 kB / 484.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1259, allocations: 0 / 484.9 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.126, allocations: 11.98 kB / 484.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.1261, allocations: 0 / 484.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1261, allocations: 4 kB / 484.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.235e-05/0.1261, allocations: 79.28 kB / 485 MB, free: 1.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1261, allocations: 0 / 485 MB, free: 1.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1264, allocations: 12 kB / 485 MB, free: 1.543 MB / 350.1 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.0005181/0.1269, allocations: 0.7374 MB / 485.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.1271, allocations: 51.95 kB / 485.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1271, allocations: 0 / 485.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.1272, allocations: 35.98 kB / 485.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.1274, allocations: 0 / 485.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.128, allocations: 173.3 kB / 486 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1282, allocations: 0.677 MB / 486.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.764e-05/0.1283, allocations: 4 kB / 486.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.1283, allocations: 15.42 kB / 486.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1283, allocations: 4 kB / 486.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.1393, allocations: 1.257 MB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.1395, allocations: 179.5 kB / 488.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.759, allocations: 0 / 488.1 MB, free: 14.38 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat