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: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009501/0.00095, allocations: 176.2 kB / 16.76 MB, free: 4.93 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.455/1.455, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.0007832/0.0007832, allocations: 87.39 kB / 271.3 MB, free: 8.234 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.3238/0.3238, allocations: 43.56 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003315, allocations: 12 kB / 432.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1097, allocations: 58.84 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3055/0.4153, allocations: 84.02 MB / 0.562 GB, free: 1.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001854/0.4155, allocations: 66.5 kB / 0.5621 GB, free: 1.758 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001124/0.4166, allocations: 0.5549 MB / 0.5626 GB, free: 1.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4167, allocations: 1.969 kB / 0.5626 GB, free: 1.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.4167, allocations: 4 kB / 0.5626 GB, free: 1.203 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0001924/0.4169, allocations: 328.7 kB / 0.5629 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.4169, allocations: 12.03 kB / 0.5629 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.4169, allocations: 2.969 kB / 0.5629 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.335e-05/0.417, allocations: 164.4 kB / 0.5631 GB, free: 0.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.417, allocations: 4.375 kB / 0.5631 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.4171, allocations: 384 / 0.5631 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.96e-05/0.4172, allocations: 52.84 kB / 0.5632 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.4172, allocations: 4.125 kB / 0.5632 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.4172, allocations: 3.938 kB / 0.5632 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4172, allocations: 0 / 0.5632 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.85e-05/0.4172, allocations: 19.98 kB / 0.5632 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.4175, allocations: 328.8 kB / 0.5635 GB, free: 164 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.356e-05/0.4175, allocations: 31.58 kB / 0.5635 GB, free: 124 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.082e-05/0.4176, allocations: 12.86 kB / 0.5635 GB, free: 108 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.4176, allocations: 0 / 0.5635 GB, free: 108 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.4176, allocations: 43.95 kB / 0.5636 GB, free: 56 kB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.4176, allocations: 0 / 0.5636 GB, free: 56 kB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001645/0.4178, allocations: 53.66 kB / 0.5636 GB, free: 15.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.4178, allocations: 51.41 kB / 0.5637 GB, free: 15.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.4179, allocations: 101.7 kB / 0.5638 GB, free: 15.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.4179, allocations: 25.7 kB / 0.5638 GB, free: 15.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.4179, allocations: 80.14 kB / 0.5639 GB, free: 15.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.418, allocations: 23.86 kB / 0.5639 GB, free: 15.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.418, allocations: 4 kB / 0.5639 GB, free: 15.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.4181, allocations: 313.7 kB / 0.5642 GB, free: 15.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.4181, allocations: 4 kB / 0.5642 GB, free: 15.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.4181, allocations: 21.72 kB / 0.5642 GB, free: 15.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.657e-05/0.4182, allocations: 29.7 kB / 0.5643 GB, free: 15.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4182, allocations: 0 / 0.5643 GB, free: 15.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.512e-05/0.4183, allocations: 61.56 kB / 0.5643 GB, free: 15.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4183, allocations: 8 kB / 0.5643 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.4183, allocations: 0 / 0.5643 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.4183, allocations: 0 / 0.5643 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.834e-05/0.4184, allocations: 8 kB / 0.5643 GB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.4184, allocations: 0 / 0.5643 GB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.922e-05/0.4184, allocations: 0 / 0.5643 GB, free: 15.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.4184, allocations: 4 kB / 0.5643 GB, free: 15.22 MB / 394.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 () * 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 9.645e-05/0.4185, allocations: 121.7 kB / 0.5644 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.4186, allocations: 7.938 kB / 0.5645 GB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.4187, allocations: 64.31 kB / 0.5645 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4187, allocations: 0 / 0.5645 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.4187, allocations: 0 / 0.5645 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4187, allocations: 0 / 0.5645 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.4189, allocations: 164.7 kB / 0.5647 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4189, allocations: 0 / 0.5647 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.4189, allocations: 8 kB / 0.5647 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.419, allocations: 0 / 0.5647 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.419, allocations: 3.984 kB / 0.5647 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.419, allocations: 4 kB / 0.5647 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.419, allocations: 3.938 kB / 0.5647 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.4191, allocations: 151.5 kB / 0.5648 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.4191, allocations: 81.11 kB / 0.5649 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.4192, allocations: 0 / 0.5649 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.604e-05/0.4192, allocations: 0 / 0.5649 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.4192, allocations: 6 kB / 0.5649 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.4193, allocations: 0 / 0.5649 GB, free: 14.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.485e-05/0.4193, allocations: 79.28 kB / 0.565 GB, free: 14.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4193, allocations: 0 / 0.565 GB, free: 14.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002186/0.4195, allocations: 19.98 kB / 0.565 GB, free: 14.43 MB / 394.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 () * 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.0001034/0.4196, allocations: 95.25 kB / 0.5651 GB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.365e-05/0.4197, allocations: 20.17 kB / 0.5651 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4197, allocations: 4 kB / 0.5651 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.951e-05/0.4198, allocations: 15.98 kB / 0.5651 GB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.42, allocations: 12.03 kB / 0.5652 GB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.4202, allocations: 124 kB / 0.5653 GB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.4204, allocations: 0.6826 MB / 0.5659 GB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.407e-05/0.4205, allocations: 2.062 kB / 0.5659 GB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.4205, allocations: 15.44 kB / 0.566 GB, free: 13.41 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4205, allocations: 0 / 0.566 GB, free: 13.41 MB / 394.7 MB Notification: Performance of Templates: time 0.002029/0.4225, allocations: 423.9 kB / 0.5664 GB, free: 13.01 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches