Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",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.001672/0.001673, allocations: 176.9 kB / 8.008 MB, free: 1.066 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.585/1.585, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.0008915/0.0008916, allocations: 86.3 kB / 261.7 MB, free: 1.688 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.2017/0.2017, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.784e-05/1.798e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 58.85 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4728/0.5983, allocations: 83.24 MB / 0.5473 GB, free: 8.699 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5986, allocations: 66.5 kB / 0.5474 GB, free: 8.699 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001394/0.6, allocations: 0.5625 MB / 0.5479 GB, free: 8.375 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6, allocations: 0 / 0.5479 GB, free: 8.375 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.6, allocations: 4.844 kB / 0.5479 GB, free: 8.375 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002238/0.6003, allocations: 323.3 kB / 0.5482 GB, free: 8.031 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.896e-05/0.6004, allocations: 7.719 kB / 0.5482 GB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.6004, allocations: 3.812 kB / 0.5483 GB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.476e-05/0.6005, allocations: 165 kB / 0.5484 GB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.6005, allocations: 3.938 kB / 0.5484 GB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.6005, allocations: 7.906 kB / 0.5484 GB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.944e-05/0.6006, allocations: 7.406 kB / 0.5484 GB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.682e-05/0.6007, allocations: 49.22 kB / 0.5485 GB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6007, allocations: 3.375 kB / 0.5485 GB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.6008, allocations: 0 / 0.5485 GB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.6008, allocations: 0 / 0.5485 GB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.6011, allocations: 299.9 kB / 0.5488 GB, free: 7.457 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.342e-05/0.6011, allocations: 28.42 kB / 0.5488 GB, free: 7.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.6012, allocations: 16.48 kB / 0.5488 GB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.6012, allocations: 0 / 0.5488 GB, free: 7.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.6012, allocations: 32.56 kB / 0.5488 GB, free: 7.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.6012, allocations: 3.938 kB / 0.5488 GB, free: 7.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002082/0.6014, allocations: 47.91 kB / 0.5489 GB, free: 7.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.6015, allocations: 61.62 kB / 0.5489 GB, free: 7.277 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.6015, allocations: 85 kB / 0.549 GB, free: 7.188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.6015, allocations: 25.7 kB / 0.549 GB, free: 7.156 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.6016, allocations: 83.64 kB / 0.5491 GB, free: 7.074 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.6016, allocations: 14.41 kB / 0.5491 GB, free: 7.066 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.6016, allocations: 3.938 kB / 0.5491 GB, free: 7.062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.6017, allocations: 322 kB / 0.5495 GB, free: 6.746 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.6017, allocations: 3.844 kB / 0.5495 GB, free: 6.746 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.6017, allocations: 21.12 kB / 0.5495 GB, free: 6.727 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.395e-05/0.6018, allocations: 10.25 kB / 0.5495 GB, free: 6.727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6018, allocations: 0 / 0.5495 GB, free: 6.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.238e-05/0.6019, allocations: 50.17 kB / 0.5495 GB, free: 6.695 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.6019, allocations: 3.969 kB / 0.5495 GB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6019, allocations: 3.875 kB / 0.5495 GB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.6019, allocations: 0 / 0.5495 GB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.919e-05/0.602, allocations: 14.31 kB / 0.5496 GB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.602, allocations: 4.031 kB / 0.5496 GB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.602, allocations: 3.938 kB / 0.5496 GB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.6021, allocations: 6.969 kB / 0.5496 GB, free: 6.684 MB / 362.7 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 () * 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.178e-05/0.6021, allocations: 104.9 kB / 0.5497 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.645e-05/0.6022, allocations: 51.14 kB / 0.5497 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.6022, allocations: 6.422 kB / 0.5497 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.6024, allocations: 63.59 kB / 0.5498 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.6024, allocations: 0 / 0.5498 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6024, allocations: 0 / 0.5498 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.6024, allocations: 4 kB / 0.5498 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.6025, allocations: 135.4 kB / 0.5499 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.6025, allocations: 0.875 kB / 0.5499 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.6026, allocations: 7.656 kB / 0.5499 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6026, allocations: 0 / 0.5499 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.6026, allocations: 0 / 0.5499 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.6026, allocations: 6.922 kB / 0.5499 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6026, allocations: 192 / 0.5499 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.6027, allocations: 156 kB / 0.5501 GB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.6028, allocations: 84.16 kB / 0.5502 GB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.6028, allocations: 3.844 kB / 0.5502 GB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/0.6028, allocations: 0 / 0.5502 GB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.6029, allocations: 3.828 kB / 0.5502 GB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.6029, allocations: 3.875 kB / 0.5502 GB, free: 6.086 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.804e-05/0.6029, allocations: 78.78 kB / 0.5502 GB, free: 6.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6029, allocations: 3.938 kB / 0.5503 GB, free: 6.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002193/0.6031, allocations: 3.812 kB / 0.5503 GB, free: 6.008 MB / 362.7 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 () * 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.0002938/0.6034, allocations: 0.6831 MB / 0.5509 GB, free: 5.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.932e-05/0.6035, allocations: 26.31 kB / 0.5509 GB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6035, allocations: 0 / 0.5509 GB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.862e-05/0.6036, allocations: 7.75 kB / 0.551 GB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.6037, allocations: 6.25 kB / 0.551 GB, free: 5.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.604, allocations: 102.6 kB / 0.5511 GB, free: 5.227 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.6042, allocations: 0.6871 MB / 0.5517 GB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.38e-05/0.6042, allocations: 0 / 0.5517 GB, free: 4.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.6043, allocations: 14.5 kB / 0.5517 GB, free: 4.52 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6043, allocations: 3.938 kB / 0.5517 GB, free: 4.516 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.6245, allocations: 0.7656 MB / 0.5525 GB, free: 4.465 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.6248, allocations: 164.9 kB / 0.5527 GB, free: 4.258 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.074, allocations: 0 / 0.5527 GB, free: 4.258 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat