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.001068/0.001071, allocations: 187 kB / 16.64 MB, free: 5.133 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.177/1.177, allocations: 205.1 MB / 222.5 MB, free: 8.461 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.0009671/0.0009672, allocations: 109.4 kB / 269.9 MB, free: 8.434 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.2832/0.2832, allocations: 43.5 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.001021, allocations: 51.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.0945, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001632/0.09618, allocations: 0.5697 MB / 487.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002942/0.0965, allocations: 97.38 kB / 487.7 MB, free: 11.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.401e-05/0.09653, allocations: 3.938 kB / 487.7 MB, free: 11.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.305e-05/0.09655, allocations: 4 kB / 487.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.597e-05/0.09659, allocations: 0 / 487.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.09675, allocations: 11.98 kB / 487.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.252e-05/0.0968, allocations: 11.94 kB / 487.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.09684, allocations: 11.97 kB / 487.7 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.126e-05/0.09687, allocations: 4 kB / 487.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.175e-05/0.09692, allocations: 3.938 kB / 487.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.09694, allocations: 4 kB / 487.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.668e-05/0.09702, allocations: 31.95 kB / 487.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.09704, allocations: 4 kB / 487.8 MB, free: 11.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.09706, allocations: 15.88 kB / 487.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.582e-05/0.09715, allocations: 27.95 kB / 487.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.09717, allocations: 0 / 487.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.09717, allocations: 0 / 487.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.09718, allocations: 0 / 487.8 MB, free: 11.74 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.0003593/0.09754, allocations: 331.5 kB / 488.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.09759, allocations: 8.031 kB / 488.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.09762, allocations: 0.9375 kB / 488.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.09774, allocations: 168.6 kB / 488.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.09775, allocations: 4.375 kB / 488.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.09777, allocations: 384 / 488.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.09789, allocations: 51.97 kB / 488.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.0979, allocations: 192 / 488.4 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.09792, allocations: 3.938 kB / 488.4 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.09794, allocations: 7.938 kB / 488.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.09799, allocations: 15.92 kB / 488.4 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/0.09829, allocations: 325.1 kB / 488.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.061e-05/0.09835, allocations: 34.48 kB / 488.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.0984, allocations: 12.86 kB / 488.7 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.09842, allocations: 0 / 488.7 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.09844, allocations: 34.56 kB / 488.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.09845, allocations: 4 kB / 488.8 MB, free: 10.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001672/0.09863, allocations: 61.67 kB / 488.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.09867, allocations: 51.41 kB / 488.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.146e-05/0.09873, allocations: 101.8 kB / 489 MB, free: 10.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.09876, allocations: 25.7 kB / 489 MB, free: 10.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.0988, allocations: 80.14 kB / 489.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.09881, allocations: 7.812 kB / 489.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.09885, allocations: 21.66 kB / 489.1 MB, free: 10.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.09896, allocations: 323 kB / 489.4 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.09898, allocations: 4 kB / 489.4 MB, free: 9.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.061e-05/0.09902, allocations: 25.66 kB / 489.5 MB, free: 9.836 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.793e-05/0.09907, allocations: 29.7 kB / 489.5 MB, free: 9.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.09908, allocations: 4 kB / 489.5 MB, free: 9.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.996e-05/0.09918, allocations: 61.56 kB / 489.6 MB, free: 9.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.0992, allocations: 4 kB / 489.6 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.09921, allocations: 4.031 kB / 489.6 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.09922, allocations: 0 / 489.6 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.09929, allocations: 8 kB / 489.6 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.0993, allocations: 0 / 489.6 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.09933, allocations: 7.938 kB / 489.6 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.09934, allocations: 0 / 489.6 MB, free: 9.707 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 7.134e-05/0.09942, allocations: 113.8 kB / 489.7 MB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.09945, allocations: 15.83 kB / 489.7 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.09957, allocations: 57.19 kB / 489.8 MB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.09958, allocations: 4 kB / 489.8 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.09959, allocations: 0 / 489.8 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.09959, allocations: 0 / 489.8 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.09974, allocations: 161.5 kB / 489.9 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.09975, allocations: 0 / 489.9 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.09979, allocations: 8 kB / 489.9 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.0998, allocations: 0 / 489.9 MB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.09981, allocations: 4 kB / 489.9 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.09982, allocations: 4.188 kB / 489.9 MB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/0.09983, allocations: 4 kB / 490 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.1002, allocations: 0.7006 MB / 490.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.1002, allocations: 81.11 kB / 490.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.1002, allocations: 3.984 kB / 490.7 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.375e-05/0.1003, allocations: 3.938 kB / 490.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.1003, allocations: 0 / 490.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.1003, allocations: 7.938 kB / 490.7 MB, free: 8.402 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.84e-05/0.1004, allocations: 83.28 kB / 490.8 MB, free: 8.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1004, allocations: 0 / 490.8 MB, free: 8.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003034/0.1007, allocations: 8 kB / 490.8 MB, free: 8.312 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.0001074/0.1008, allocations: 103.2 kB / 490.9 MB, free: 8.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.601e-05/0.1009, allocations: 20 kB / 491 MB, free: 8.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1009, allocations: 0 / 491 MB, free: 8.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.563e-05/0.1009, allocations: 19.92 kB / 491 MB, free: 8.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.1011, allocations: 7.766 kB / 491 MB, free: 8.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.1014, allocations: 229.6 kB / 491.2 MB, free: 7.895 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.1016, allocations: 0.677 MB / 491.9 MB, free: 7.191 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.272e-05/0.1017, allocations: 4 kB / 491.9 MB, free: 7.188 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.1017, allocations: 15.38 kB / 491.9 MB, free: 7.172 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1017, allocations: 0 / 491.9 MB, free: 7.172 MB / 378.7 MB Notification: Performance of Templates: time 0.002314/0.104, allocations: 445.9 kB / 492.3 MB, free: 6.738 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@2/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