Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",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.001448/0.001448, allocations: 177.6 kB / 8.002 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.77/1.77, 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.001038/0.001038, allocations: 90.62 kB / 261.8 MB, free: 1.68 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.2004/0.2004, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.893e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4603/0.5827, allocations: 83.62 MB / 0.5477 GB, free: 9.102 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.583, allocations: 66.08 kB / 0.5477 GB, free: 9.102 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005464/0.5885, allocations: 1.758 MB / 0.5495 GB, free: 8.715 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5885, allocations: 0 / 0.5495 GB, free: 8.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.5886, allocations: 7.875 kB / 0.5495 GB, free: 8.711 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003868/0.589, allocations: 359.7 kB / 0.5498 GB, free: 8.344 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.589, allocations: 11.25 kB / 0.5498 GB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.5891, allocations: 8.484 kB / 0.5498 GB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.5893, allocations: 173.2 kB / 0.55 GB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.5893, allocations: 0 / 0.55 GB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.5893, allocations: 3.75 kB / 0.55 GB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001029/0.5894, allocations: 25.86 kB / 0.55 GB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.478e-05/0.5895, allocations: 44.34 kB / 0.5501 GB, free: 8.105 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5896, allocations: 7.844 kB / 0.5501 GB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.5896, allocations: 0 / 0.5501 GB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5896, allocations: 0 / 0.5501 GB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.5897, allocations: 155.2 kB / 0.5502 GB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.5899, allocations: 51.86 kB / 0.5503 GB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.59, allocations: 26.42 kB / 0.5503 GB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002196/0.5902, allocations: 109.9 kB / 0.5504 GB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.5902, allocations: 34.41 kB / 0.5504 GB, free: 7.762 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.5903, allocations: 0 / 0.5504 GB, free: 7.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.03743/0.6277, allocations: 2.095 MB / 0.5525 GB, free: 6.043 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.6278, allocations: 59.39 kB / 0.5525 GB, free: 5.973 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.356e-05/0.6279, allocations: 89 kB / 0.5526 GB, free: 5.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.6279, allocations: 25.7 kB / 0.5526 GB, free: 5.848 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.6279, allocations: 87.64 kB / 0.5527 GB, free: 5.762 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.487e-05/0.628, allocations: 61.8 kB / 0.5528 GB, free: 5.707 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.628, allocations: 0 / 0.5528 GB, free: 5.707 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.6281, allocations: 326.4 kB / 0.5531 GB, free: 5.383 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.6283, allocations: 137.1 kB / 0.5532 GB, free: 5.309 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.6284, allocations: 137.1 kB / 0.5534 GB, free: 5.238 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.6289, allocations: 195.4 kB / 0.5535 GB, free: 5.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6289, allocations: 0 / 0.5535 GB, free: 5.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008093/0.6298, allocations: 414.8 kB / 0.5539 GB, free: 4.824 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.6298, allocations: 8 kB / 0.5539 GB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.6298, allocations: 4 kB / 0.5539 GB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.6298, allocations: 0 / 0.5539 GB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.6302, allocations: 75.94 kB / 0.554 GB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.6303, allocations: 0 / 0.554 GB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.6305, allocations: 27.97 kB / 0.554 GB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.6305, allocations: 19.92 kB / 0.5541 GB, free: 4.691 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 (19): * Single equations (assignments): 19 * 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.0001099/0.6306, allocations: 107.8 kB / 0.5542 GB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007292/0.6314, allocations: 415.4 kB / 0.5546 GB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.6314, allocations: 7.906 kB / 0.5546 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009946/0.6324, allocations: 498.1 kB / 0.555 GB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.6324, allocations: 3.984 kB / 0.5551 GB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6325, allocations: 0 / 0.5551 GB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.6325, allocations: 0 / 0.5551 GB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.6343, allocations: 0.8383 MB / 0.5559 GB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6343, allocations: 0.875 kB / 0.5559 GB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.6346, allocations: 80.06 kB / 0.5559 GB, free: 3.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6346, allocations: 4 kB / 0.5559 GB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.6346, allocations: 19.94 kB / 0.556 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.6346, allocations: 3.938 kB / 0.556 GB, free: 3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.6346, allocations: 4 kB / 0.556 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006669/0.6353, allocations: 482.3 kB / 0.5564 GB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.6354, allocations: 92.95 kB / 0.5565 GB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.6354, allocations: 8 kB / 0.5565 GB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.6356, allocations: 23.97 kB / 0.5566 GB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.6356, allocations: 23.5 kB / 0.5566 GB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.6357, allocations: 15.98 kB / 0.5566 GB, free: 2.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.638e-05/0.6357, allocations: 86.66 kB / 0.5567 GB, free: 2.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6357, allocations: 0 / 0.5567 GB, free: 2.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009125/0.6366, allocations: 335.7 kB / 0.557 GB, free: 1.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002192/0.6388, allocations: 1.583 MB / 0.5585 GB, free: 356 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.6392, allocations: 269.7 kB / 0.5588 GB, free: 184 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6392, allocations: 0 / 0.5588 GB, free: 184 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.6394, allocations: 108.3 kB / 0.5589 GB, free: 100 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.6396, allocations: 7.375 kB / 0.5589 GB, free: 96 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.6413, allocations: 468.4 kB / 0.5594 GB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.6416, allocations: 0.6965 MB / 0.56 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003911/0.642, allocations: 96.88 kB / 0.5601 GB, free: 14.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.6422, allocations: 57.89 kB / 0.5602 GB, free: 14.74 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6422, allocations: 0 / 0.5602 GB, free: 14.74 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.6768, allocations: 8.366 MB / 0.5684 GB, free: 6.391 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.6771, allocations: 163.5 kB / 0.5685 GB, free: 6.191 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.423, allocations: 0 / 0.5685 GB, free: 6.191 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat