Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 170 kB / 16.08 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.6 MB / 222.4 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006921/0.0006921, allocations: 104 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2976/0.2976, allocations: 43.67 MB / 362.7 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002895, allocations: 12 kB / 432.3 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09519, allocations: 58.85 MB / 491.2 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.000568/0.0958, allocations: 240.4 kB / 491.4 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003531/0.09618, allocations: 247.7 kB / 491.6 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.09621, allocations: 0 / 491.6 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.09623, allocations: 3.938 kB / 491.6 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.035e-05/0.09626, allocations: 0 / 491.6 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.09641, allocations: 11.98 kB / 491.7 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.616e-05/0.09647, allocations: 23.92 kB / 491.7 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.09652, allocations: 0 / 491.7 MB, free: 9.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.048e-05/0.09655, allocations: 4 kB / 491.7 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.744e-05/0.0966, allocations: 7.984 kB / 491.7 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.09662, allocations: 3.938 kB / 491.7 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.075e-05/0.0967, allocations: 27.97 kB / 491.7 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.09671, allocations: 4 kB / 491.7 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.09675, allocations: 33.69 kB / 491.8 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.916e-05/0.09684, allocations: 27.91 kB / 491.8 MB, free: 9.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09685, allocations: 3.938 kB / 491.8 MB, free: 9.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.09686, allocations: 4 kB / 491.8 MB, free: 9.148 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.09687, allocations: 0 / 491.8 MB, free: 9.148 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.0003111/0.09718, allocations: 327.1 kB / 492.1 MB, free: 8.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.09722, allocations: 8.031 kB / 492.1 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.09726, allocations: 4.938 kB / 492.1 MB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.589e-05/0.09736, allocations: 172.5 kB / 492.3 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.09738, allocations: 384 / 492.3 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.09739, allocations: 4.375 kB / 492.3 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.0975, allocations: 51.97 kB / 492.3 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.09752, allocations: 192 / 492.3 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.09753, allocations: 7.938 kB / 492.4 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.09757, allocations: 3.984 kB / 492.4 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.09762, allocations: 11.94 kB / 492.4 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.09791, allocations: 321.1 kB / 492.7 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.21e-05/0.09797, allocations: 34.55 kB / 492.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.09801, allocations: 12.86 kB / 492.7 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.09804, allocations: 0 / 492.7 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.09807, allocations: 38.5 kB / 492.8 MB, free: 8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.09808, allocations: 0 / 492.8 MB, free: 8 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001738/0.09825, allocations: 53.97 kB / 492.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.09829, allocations: 51.41 kB / 492.9 MB, free: 7.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.554e-05/0.09836, allocations: 105.8 kB / 493 MB, free: 7.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.09838, allocations: 29.7 kB / 493 MB, free: 7.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.09843, allocations: 80.14 kB / 493.1 MB, free: 7.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.09844, allocations: 7.812 kB / 493.1 MB, free: 7.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.09845, allocations: 4 kB / 493.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.462e-05/0.09854, allocations: 314.8 kB / 493.4 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.09857, allocations: 7.984 kB / 493.4 MB, free: 7.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.61e-05/0.0986, allocations: 21.84 kB / 493.4 MB, free: 7.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.466e-05/0.09866, allocations: 29.64 kB / 493.5 MB, free: 7.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.09866, allocations: 0 / 493.5 MB, free: 7.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.476e-05/0.09876, allocations: 65.56 kB / 493.5 MB, free: 7.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.09879, allocations: 7.984 kB / 493.5 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.0988, allocations: 0 / 493.5 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.09881, allocations: 0 / 493.5 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.09888, allocations: 8 kB / 493.5 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.0989, allocations: 0 / 493.5 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/0.09893, allocations: 11.97 kB / 493.5 MB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.09894, allocations: 0 / 493.5 MB, free: 7.152 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.597e-05/0.09901, allocations: 113.8 kB / 493.7 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.09904, allocations: 4 kB / 493.7 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.09918, allocations: 73.17 kB / 493.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.09919, allocations: 4 kB / 493.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.0992, allocations: 0 / 493.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.0992, allocations: 0 / 493.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.09935, allocations: 169.5 kB / 493.9 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.09935, allocations: 0 / 493.9 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.0994, allocations: 8 kB / 493.9 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.09941, allocations: 3.938 kB / 493.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.09942, allocations: 0 / 493.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.09943, allocations: 0 / 493.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.09943, allocations: 0 / 493.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.09955, allocations: 155.4 kB / 494.1 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.09959, allocations: 77.11 kB / 494.1 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.09961, allocations: 8 kB / 494.2 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-05/0.09966, allocations: 0 / 494.2 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.09969, allocations: 7.984 kB / 494.2 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.0997, allocations: 0 / 494.2 MB, free: 6.438 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.618e-05/0.09973, allocations: 79.28 kB / 494.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.09974, allocations: 0 / 494.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002014/0.09995, allocations: 8 kB / 494.2 MB, free: 6.352 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001091/0.1001, allocations: 107.3 kB / 494.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.666e-05/0.1002, allocations: 27.92 kB / 494.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1002, allocations: 0 / 494.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.702e-05/0.1002, allocations: 16 kB / 494.4 MB, free: 6.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.1004, allocations: 3.938 kB / 494.4 MB, free: 6.191 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/0.1006, allocations: 118.6 kB / 494.5 MB, free: 6.047 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.1008, allocations: 0.677 MB / 495.2 MB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.479e-05/0.1009, allocations: 8.047 kB / 495.2 MB, free: 5.336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.1009, allocations: 11.44 kB / 495.2 MB, free: 5.328 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1009, allocations: 0 / 495.2 MB, free: 5.328 MB / 378.7 MB Notification: Performance of Templates: time 0.002075/0.103, allocations: 421.3 kB / 495.6 MB, free: 4.918 MB / 378.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/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_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches