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: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009166/0.0009166, allocations: 176.2 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0007542/0.0007544, allocations: 89.41 kB / 271.3 MB, free: 8.258 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.295/0.295, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005017/0.0005019, allocations: 16 kB / 432.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 58.84 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2888/0.4178, allocations: 84.01 MB / 0.562 GB, free: 2.016 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.418, allocations: 63.97 kB / 0.562 GB, free: 1.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00145/0.4195, allocations: 0.6301 MB / 0.5627 GB, free: 1.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4195, allocations: 0 / 0.5627 GB, free: 1.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.4195, allocations: 0 / 0.5627 GB, free: 1.332 MB / 378.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.0001838/0.4197, allocations: 323.5 kB / 0.563 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.4197, allocations: 8.031 kB / 0.563 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.4198, allocations: 5.875 kB / 0.563 GB, free: 0.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.791e-05/0.4199, allocations: 164.3 kB / 0.5631 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.4199, allocations: 3.375 kB / 0.5631 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.4199, allocations: 384 / 0.5631 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.967e-05/0.42, allocations: 34.25 kB / 0.5632 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.42, allocations: 192 / 0.5632 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.42, allocations: 7.938 kB / 0.5632 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.42, allocations: 0 / 0.5632 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.109e-05/0.42, allocations: 15.94 kB / 0.5632 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.4202, allocations: 155.7 kB / 0.5633 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.4203, allocations: 30.61 kB / 0.5634 GB, free: 468 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.4203, allocations: 12.86 kB / 0.5634 GB, free: 452 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.4206, allocations: 121.2 kB / 0.5635 GB, free: 312 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.4206, allocations: 31.33 kB / 0.5635 GB, free: 272 kB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4206, allocations: 1.312 kB / 0.5635 GB, free: 272 kB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001083/0.4217, allocations: 217.3 kB / 0.5637 GB, free: 48 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.4218, allocations: 51.41 kB / 0.5638 GB, free: 15.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.629e-05/0.4218, allocations: 93.86 kB / 0.5639 GB, free: 15.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.4219, allocations: 25.7 kB / 0.5639 GB, free: 15.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/0.4219, allocations: 88.08 kB / 0.564 GB, free: 15.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.4219, allocations: 18.69 kB / 0.564 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.4219, allocations: 0 / 0.564 GB, free: 15.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4221, allocations: 323 kB / 0.5643 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.4221, allocations: 15.98 kB / 0.5643 GB, free: 15.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.847e-05/0.4222, allocations: 23.98 kB / 0.5644 GB, free: 15.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.4224, allocations: 56.83 kB / 0.5644 GB, free: 15.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.4224, allocations: 0 / 0.5644 GB, free: 15.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001866/0.4226, allocations: 81.66 kB / 0.5645 GB, free: 15.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.4226, allocations: 10.66 kB / 0.5645 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.4226, allocations: 0 / 0.5645 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.4226, allocations: 0 / 0.5645 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4227, allocations: 27.92 kB / 0.5645 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4228, allocations: 0 / 0.5645 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.183e-05/0.4229, allocations: 14.55 kB / 0.5645 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.4229, allocations: 0 / 0.5645 GB, free: 15.19 MB / 394.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 6.576e-05/0.4229, allocations: 113.8 kB / 0.5646 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.423, allocations: 3.938 kB / 0.5646 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.4232, allocations: 97.2 kB / 0.5647 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4232, allocations: 288 / 0.5647 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4232, allocations: 0 / 0.5647 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4232, allocations: 0 / 0.5647 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.4239, allocations: 379.2 kB / 0.5651 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4239, allocations: 4 kB / 0.5651 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.424, allocations: 23.95 kB / 0.5651 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.424, allocations: 0 / 0.5651 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.424, allocations: 0 / 0.5651 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.424, allocations: 0.5469 kB / 0.5651 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4241, allocations: 4 kB / 0.5651 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.4243, allocations: 191.7 kB / 0.5653 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.4244, allocations: 77.11 kB / 0.5654 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.4244, allocations: 3.984 kB / 0.5654 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4245, allocations: 11.83 kB / 0.5654 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.4245, allocations: 3.984 kB / 0.5654 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.4245, allocations: 8 kB / 0.5654 GB, free: 14.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.5e-05/0.4246, allocations: 83.22 kB / 0.5655 GB, free: 14.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4246, allocations: 0 / 0.5655 GB, free: 14.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.4248, allocations: 12 kB / 0.5655 GB, free: 14.09 MB / 394.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.0001264/0.4249, allocations: 96 kB / 0.5656 GB, free: 13.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.4251, allocations: 63.98 kB / 0.5657 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4252, allocations: 0 / 0.5657 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.4252, allocations: 31.92 kB / 0.5657 GB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.4254, allocations: 0 / 0.5657 GB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/0.4259, allocations: 149.8 kB / 0.5658 GB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.4261, allocations: 0.677 MB / 0.5665 GB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.147e-05/0.4262, allocations: 7.938 kB / 0.5665 GB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.4262, allocations: 15.42 kB / 0.5665 GB, free: 13 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4262, allocations: 0 / 0.5665 GB, free: 13 MB / 394.7 MB Notification: Performance of Templates: time 0.00233/0.4285, allocations: 0.5918 MB / 0.5671 GB, free: 12.41 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches