Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0008226/0.0008227, allocations: 167.2 kB / 16.72 MB, free: 4.965 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.178/1.178, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0006967/0.0006967, allocations: 82.36 kB / 271.2 MB, free: 8.254 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.2748/0.2748, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003584, allocations: 16 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09204/0.09241, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0005003/0.09295, allocations: 228.5 kB / 491 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002266/0.09319, allocations: 97.3 kB / 491.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.512e-05/0.09321, allocations: 4 kB / 491.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.657e-06/0.09323, allocations: 0 / 491.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.999e-05/0.09326, allocations: 0 / 491.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.09342, allocations: 15.92 kB / 491.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.095e-05/0.09347, allocations: 4 kB / 491.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.09352, allocations: 7.984 kB / 491.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.694e-05/0.09355, allocations: 7.984 kB / 491.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.517e-05/0.0936, allocations: 7.922 kB / 491.2 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.09362, allocations: 4 kB / 491.2 MB, free: 10.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.0937, allocations: 35.89 kB / 491.2 MB, free: 10.49 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.09372, allocations: 8 kB / 491.2 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.09375, allocations: 33.64 kB / 491.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.803e-05/0.09381, allocations: 11.98 kB / 491.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.09382, allocations: 3.938 kB / 491.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09383, allocations: 0 / 491.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.09384, allocations: 0 / 491.3 MB, free: 10.43 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.0003029/0.09415, allocations: 327.5 kB / 491.6 MB, free: 10.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.09419, allocations: 8.031 kB / 491.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.09421, allocations: 0.9375 kB / 491.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.943e-05/0.09432, allocations: 176.7 kB / 491.8 MB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.09434, allocations: 384 / 491.8 MB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.09435, allocations: 384 / 491.8 MB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.09447, allocations: 51.97 kB / 491.8 MB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.09448, allocations: 192 / 491.8 MB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.0945, allocations: 3.938 kB / 491.8 MB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.09451, allocations: 4 kB / 491.8 MB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.047e-05/0.09455, allocations: 11.94 kB / 491.9 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.09483, allocations: 329.1 kB / 492.2 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.747e-05/0.09488, allocations: 22.52 kB / 492.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.09493, allocations: 20.8 kB / 492.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.09495, allocations: 0 / 492.2 MB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.09497, allocations: 38.64 kB / 492.3 MB, free: 9.281 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.09498, allocations: 0 / 492.3 MB, free: 9.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001512/0.09514, allocations: 53.69 kB / 492.3 MB, free: 9.223 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.09517, allocations: 55.41 kB / 492.4 MB, free: 9.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.767e-05/0.09524, allocations: 97.77 kB / 492.5 MB, free: 9.051 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.09525, allocations: 25.7 kB / 492.5 MB, free: 9.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.09529, allocations: 88.12 kB / 492.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.979e-06/0.09531, allocations: 7.812 kB / 492.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.09531, allocations: 0 / 492.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.09542, allocations: 326.9 kB / 492.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.09544, allocations: 7.938 kB / 492.9 MB, free: 8.586 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.577e-05/0.09547, allocations: 21.72 kB / 492.9 MB, free: 8.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.471e-05/0.09552, allocations: 25.7 kB / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.09553, allocations: 0 / 492.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.544e-05/0.09562, allocations: 61.56 kB / 493 MB, free: 8.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.09565, allocations: 12.03 kB / 493 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.09566, allocations: 0 / 493 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.09567, allocations: 0 / 493 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.721e-05/0.09573, allocations: 8 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.09574, allocations: 0 / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.09577, allocations: 0 / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.09578, allocations: 4 kB / 493 MB, free: 8.438 MB / 378.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 6.74e-05/0.09586, allocations: 129.6 kB / 493.2 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.09588, allocations: 4 kB / 493.2 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.096, allocations: 65.25 kB / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.09601, allocations: 64 / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.09602, allocations: 8 kB / 493.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.09603, allocations: 240 / 493.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.09617, allocations: 161.5 kB / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.09617, allocations: 0 / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.09622, allocations: 8 kB / 493.4 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.09623, allocations: 3.984 kB / 493.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.09624, allocations: 0 / 493.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.09624, allocations: 0 / 493.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.09625, allocations: 3.984 kB / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.09637, allocations: 155.4 kB / 493.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.09641, allocations: 81.09 kB / 493.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.09642, allocations: 4 kB / 493.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.353e-05/0.09647, allocations: 0 / 493.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.0965, allocations: 4 kB / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.09651, allocations: 0 / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.998e-05/0.09655, allocations: 79.28 kB / 493.7 MB, free: 7.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09655, allocations: 0 / 493.7 MB, free: 7.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.09676, allocations: 12 kB / 493.7 MB, free: 7.629 MB / 378.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 9.608e-05/0.09686, allocations: 103.2 kB / 493.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.861e-05/0.09694, allocations: 23.94 kB / 493.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.09695, allocations: 0 / 493.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/0.09699, allocations: 15.98 kB / 493.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.09718, allocations: 3.938 kB / 493.9 MB, free: 7.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.0974, allocations: 148.5 kB / 494 MB, free: 7.297 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.09761, allocations: 0.677 MB / 494.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.09763, allocations: 7.438 kB / 494.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.09764, allocations: 4 kB / 494.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of Templates: time 0.00156/0.0992, allocations: 0.5714 MB / 495.3 MB, free: 6.012 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/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_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches