Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000999/0.0009991, allocations: 200.7 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008077/0.0008078, allocations: 97.83 kB / 299.9 MB, free: 5.367 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2837/0.2837, allocations: 45.02 MB / 397 MB, free: 31.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002283/0.0002283, allocations: 8 kB / 470.8 MB, free: 7.137 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2665, allocations: 63.09 MB / 0.5214 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0004644/0.267, allocations: 231 kB / 0.5216 GB, free: 38.24 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002695/0.2673, allocations: 249.6 kB / 0.5218 GB, free: 37.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.574e-05/0.2673, allocations: 3 kB / 0.5218 GB, free: 37.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/0.2674, allocations: 0 / 0.5218 GB, free: 37.99 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 1.537e-05/0.2674, allocations: 0 / 0.5218 GB, free: 37.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.2675, allocations: 14.78 kB / 0.5218 GB, free: 37.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.701e-05/0.2676, allocations: 16.36 kB / 0.5219 GB, free: 37.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.2676, allocations: 0 / 0.5219 GB, free: 37.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.977e-05/0.2676, allocations: 8.844 kB / 0.5219 GB, free: 37.97 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.083e-05/0.2677, allocations: 11.12 kB / 0.5219 GB, free: 37.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.2677, allocations: 2.625 kB / 0.5219 GB, free: 37.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.006e-05/0.2678, allocations: 31.09 kB / 0.5219 GB, free: 37.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.888e-06/0.2678, allocations: 7.062 kB / 0.5219 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.2678, allocations: 29.64 kB / 0.5219 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.142e-05/0.2679, allocations: 23.02 kB / 0.522 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2679, allocations: 3.141 kB / 0.522 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2679, allocations: 3.219 kB / 0.522 GB, free: 37.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.2679, allocations: 0 / 0.522 GB, free: 37.91 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.0002297/0.2682, allocations: 328.6 kB / 0.5223 GB, free: 37.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.2682, allocations: 8.438 kB / 0.5223 GB, free: 37.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.2682, allocations: 7.906 kB / 0.5223 GB, free: 37.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.25e-05/0.2683, allocations: 160.4 kB / 0.5225 GB, free: 37.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.2683, allocations: 384 / 0.5225 GB, free: 37.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.2683, allocations: 7.516 kB / 0.5225 GB, free: 37.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.803e-05/0.2684, allocations: 56.19 kB / 0.5225 GB, free: 37.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.2684, allocations: 4.188 kB / 0.5225 GB, free: 37.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.2685, allocations: 7.359 kB / 0.5225 GB, free: 37.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2685, allocations: 0 / 0.5225 GB, free: 37.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.667e-05/0.2685, allocations: 10.09 kB / 0.5225 GB, free: 37.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.2687, allocations: 326.8 kB / 0.5228 GB, free: 36.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.757e-05/0.2688, allocations: 25.45 kB / 0.5229 GB, free: 36.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.2688, allocations: 18.58 kB / 0.5229 GB, free: 36.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.2688, allocations: 2.875 kB / 0.5229 GB, free: 36.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.2688, allocations: 34.56 kB / 0.5229 GB, free: 36.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2688, allocations: 0 / 0.5229 GB, free: 36.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001439/0.269, allocations: 58.95 kB / 0.523 GB, free: 36.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.482e-05/0.269, allocations: 51.41 kB / 0.523 GB, free: 36.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.294e-05/0.2691, allocations: 97.14 kB / 0.5231 GB, free: 36.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.121e-06/0.2691, allocations: 25.83 kB / 0.5231 GB, free: 36.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.916e-05/0.2691, allocations: 87.61 kB / 0.5232 GB, free: 36.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-06/0.2691, allocations: 18.69 kB / 0.5232 GB, free: 36.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-06/0.2691, allocations: 4 kB / 0.5233 GB, free: 36.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.495e-05/0.2692, allocations: 310.8 kB / 0.5235 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.2692, allocations: 6.172 kB / 0.5236 GB, free: 36.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.2692, allocations: 19.72 kB / 0.5236 GB, free: 36.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.2693, allocations: 34.62 kB / 0.5236 GB, free: 36.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2693, allocations: 6.422 kB / 0.5236 GB, free: 36.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.398e-05/0.2694, allocations: 51.84 kB / 0.5237 GB, free: 36.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.2694, allocations: 6.281 kB / 0.5237 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-06/0.2694, allocations: 0 / 0.5237 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.2694, allocations: 0 / 0.5237 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.338e-05/0.2694, allocations: 12.66 kB / 0.5237 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2695, allocations: 0 / 0.5237 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.2695, allocations: 3.938 kB / 0.5237 GB, free: 36.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.2695, allocations: 3.281 kB / 0.5237 GB, free: 36.08 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 3.834e-05/0.2695, allocations: 121.8 kB / 0.5238 GB, free: 35.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.2696, allocations: 7.875 kB / 0.5238 GB, free: 35.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.219e-05/0.2697, allocations: 61.86 kB / 0.5239 GB, free: 35.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2697, allocations: 0 / 0.5239 GB, free: 35.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2697, allocations: 2.75 kB / 0.5239 GB, free: 35.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2697, allocations: 0 / 0.5239 GB, free: 35.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.2698, allocations: 162.7 kB / 0.524 GB, free: 35.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2698, allocations: 0 / 0.524 GB, free: 35.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.2698, allocations: 8.906 kB / 0.524 GB, free: 35.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2698, allocations: 4 kB / 0.524 GB, free: 35.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.2699, allocations: 2.984 kB / 0.524 GB, free: 35.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2699, allocations: 0 / 0.524 GB, free: 35.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2699, allocations: 0 / 0.524 GB, free: 35.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.694e-05/0.27, allocations: 147.5 kB / 0.5242 GB, free: 35.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.27, allocations: 88.06 kB / 0.5243 GB, free: 35.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.27, allocations: 0 / 0.5243 GB, free: 35.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.662e-05/0.27, allocations: 3.375 kB / 0.5243 GB, free: 35.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.2701, allocations: 6.812 kB / 0.5243 GB, free: 35.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2701, allocations: 0 / 0.5243 GB, free: 35.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.525e-05/0.2701, allocations: 78.31 kB / 0.5244 GB, free: 35.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2701, allocations: 3.938 kB / 0.5244 GB, free: 35.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000212/0.2703, allocations: 13.69 kB / 0.5244 GB, free: 35.37 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 8.916e-05/0.2704, allocations: 102 kB / 0.5245 GB, free: 35.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.047e-05/0.2705, allocations: 21.5 kB / 0.5245 GB, free: 35.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.2705, allocations: 4.156 kB / 0.5245 GB, free: 35.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.402e-05/0.2706, allocations: 19.95 kB / 0.5245 GB, free: 35.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.2707, allocations: 13.59 kB / 0.5245 GB, free: 35.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.2709, allocations: 119.5 kB / 0.5246 GB, free: 35.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.697e-05/0.271, allocations: 0.6782 MB / 0.5253 GB, free: 34.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.075e-05/0.271, allocations: 7.219 kB / 0.5253 GB, free: 34.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.2711, allocations: 7.438 kB / 0.5253 GB, free: 34.42 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2711, allocations: 3.062 kB / 0.5253 GB, free: 34.42 MB / 378.7 MB Notification: Performance of Templates: time 0.001894/0.273, allocations: 429.5 kB / 0.5257 GB, free: 34.35 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches