Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_3_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.001219/0.001219, allocations: 180.9 kB / 8.006 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.635/1.635, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0008943/0.0008943, allocations: 88.05 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.2058/0.2058, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.539e-05/1.541e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/0.4884, allocations: 83.23 MB / 0.5473 GB, free: 8.691 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001756/0.4886, allocations: 67.33 kB / 0.5474 GB, free: 8.691 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00152/0.4901, allocations: 0.6277 MB / 0.548 GB, free: 8.363 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4901, allocations: 0 / 0.548 GB, free: 8.363 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.4902, allocations: 0 / 0.548 GB, free: 8.363 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001956/0.4904, allocations: 313.6 kB / 0.5483 GB, free: 8.023 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.4904, allocations: 11.59 kB / 0.5483 GB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.4905, allocations: 0 / 0.5483 GB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.948e-05/0.4906, allocations: 167 kB / 0.5485 GB, free: 7.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.4906, allocations: 4 kB / 0.5485 GB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.4906, allocations: 3.844 kB / 0.5485 GB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.973e-05/0.4907, allocations: 14.39 kB / 0.5485 GB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.462e-05/0.4908, allocations: 32.48 kB / 0.5485 GB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4908, allocations: 0 / 0.5485 GB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.4908, allocations: 0 / 0.5485 GB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.4908, allocations: 0 / 0.5485 GB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.491, allocations: 130.1 kB / 0.5486 GB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.4911, allocations: 36.34 kB / 0.5487 GB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.4912, allocations: 12.52 kB / 0.5487 GB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003567/0.4916, allocations: 118.7 kB / 0.5488 GB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.4916, allocations: 42.38 kB / 0.5488 GB, free: 7.445 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.4916, allocations: 0 / 0.5488 GB, free: 7.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.00148/0.4931, allocations: 169.7 kB / 0.549 GB, free: 7.406 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.4931, allocations: 51.41 kB / 0.549 GB, free: 7.344 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.946e-05/0.4932, allocations: 85 kB / 0.5491 GB, free: 7.254 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.4932, allocations: 25.7 kB / 0.5491 GB, free: 7.223 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.519e-05/0.4932, allocations: 80.14 kB / 0.5492 GB, free: 7.141 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.4933, allocations: 19.16 kB / 0.5492 GB, free: 7.129 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.4933, allocations: 0 / 0.5492 GB, free: 7.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.4934, allocations: 322.1 kB / 0.5495 GB, free: 6.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.202e-05/0.4934, allocations: 14.88 kB / 0.5496 GB, free: 6.809 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.568e-05/0.4934, allocations: 7.844 kB / 0.5496 GB, free: 6.809 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.575e-05/0.4935, allocations: 19.78 kB / 0.5496 GB, free: 6.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4935, allocations: 0 / 0.5496 GB, free: 6.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001799/0.4937, allocations: 61.84 kB / 0.5496 GB, free: 6.773 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.4938, allocations: 3.875 kB / 0.5497 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4938, allocations: 3.375 kB / 0.5497 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4938, allocations: 3.844 kB / 0.5497 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.494, allocations: 18.77 kB / 0.5497 GB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.494, allocations: 0 / 0.5497 GB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.4941, allocations: 10.59 kB / 0.5497 GB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.4941, allocations: 3.812 kB / 0.5497 GB, free: 6.77 MB / 362.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 (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 5.446e-05/0.4942, allocations: 108.9 kB / 0.5498 GB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001635/0.4944, allocations: 62.09 kB / 0.5499 GB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.4944, allocations: 7.75 kB / 0.5499 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.4946, allocations: 76.81 kB / 0.5499 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4947, allocations: 3.875 kB / 0.5499 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4947, allocations: 0 / 0.5499 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4947, allocations: 0 / 0.5499 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006636/0.4954, allocations: 324 kB / 0.5502 GB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4954, allocations: 0 / 0.5502 GB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.4955, allocations: 14.58 kB / 0.5503 GB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.4956, allocations: 7.781 kB / 0.5503 GB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4956, allocations: 0 / 0.5503 GB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4956, allocations: 3.938 kB / 0.5503 GB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4956, allocations: 0 / 0.5503 GB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.4958, allocations: 181.9 kB / 0.5504 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.4958, allocations: 77.11 kB / 0.5505 GB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.4959, allocations: 3.812 kB / 0.5505 GB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.496, allocations: 7.062 kB / 0.5505 GB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.4961, allocations: 7.062 kB / 0.5505 GB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.4961, allocations: 3.938 kB / 0.5505 GB, free: 6.027 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.136e-05/0.4961, allocations: 87.08 kB / 0.5506 GB, free: 5.945 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4961, allocations: 0 / 0.5506 GB, free: 5.945 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004009/0.4965, allocations: 7.688 kB / 0.5506 GB, free: 5.945 MB / 362.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 () * 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.0005121/0.4971, allocations: 0.7794 MB / 0.5514 GB, free: 5.188 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.4972, allocations: 33.75 kB / 0.5514 GB, free: 5.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4972, allocations: 0 / 0.5514 GB, free: 5.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.4973, allocations: 15.03 kB / 0.5514 GB, free: 5.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.4975, allocations: 11.73 kB / 0.5514 GB, free: 5.172 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.4982, allocations: 117.2 kB / 0.5516 GB, free: 5.059 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.4983, allocations: 0.6862 MB / 0.5522 GB, free: 4.355 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.4984, allocations: 3.594 kB / 0.5522 GB, free: 4.355 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.884e-05/0.4985, allocations: 15.16 kB / 0.5522 GB, free: 4.344 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4985, allocations: 0 / 0.5522 GB, free: 4.344 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.5217, allocations: 0.9136 MB / 0.5531 GB, free: 4.25 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.5219, allocations: 140.8 kB / 0.5533 GB, free: 4.059 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/1.994, allocations: 5.688 kB / 0.5533 GB, free: 4.055 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat