Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009717/0.0009717, allocations: 71.77 kB / 21.69 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009512/0.0009512, allocations: 166.6 kB / 24.99 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.943/0.943, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.245/0.245, allocations: 32.8 MB / 294.6 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 376 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.809e-05, allocations: 6.25 kB / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001202/0.00123, allocations: 0.5551 MB / 376.5 MB, free: 4.449 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005588/0.001789, allocations: 374.8 kB / 376.9 MB, free: 4.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.00182, allocations: 0 / 376.9 MB, free: 4.078 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.001837, allocations: 3.938 kB / 376.9 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.985e-05/0.001867, allocations: 0 / 376.9 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.002283, allocations: 139.4 kB / 377.1 MB, free: 3.938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.52e-05/0.002348, allocations: 27.91 kB / 377.1 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.002388, allocations: 4 kB / 377.1 MB, free: 3.906 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.212e-05/0.00242, allocations: 15.98 kB / 377.1 MB, free: 3.891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.002478, allocations: 23.91 kB / 377.1 MB, free: 3.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.002491, allocations: 0 / 377.1 MB, free: 3.867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.002678, allocations: 131.8 kB / 377.3 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.002693, allocations: 15.91 kB / 377.3 MB, free: 3.723 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.002712, allocations: 8 kB / 377.3 MB, free: 3.715 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001862/0.002898, allocations: 147.5 kB / 377.4 MB, free: 3.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.002901, allocations: 4 kB / 377.4 MB, free: 3.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.002901, allocations: 0 / 377.4 MB, free: 3.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.002906, allocations: 4 kB / 377.4 MB, free: 3.562 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003763/0.003282, allocations: 392.3 kB / 377.8 MB, free: 3.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.003321, allocations: 8.031 kB / 377.8 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.003366, allocations: 12.89 kB / 377.8 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.063e-05/0.003457, allocations: 112.6 kB / 377.9 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.003469, allocations: 384 / 377.9 MB, free: 2.988 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.003493, allocations: 12.33 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.181e-05/0.003585, allocations: 50.23 kB / 378 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.003594, allocations: 192 / 378 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.003602, allocations: 384 / 378 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.003612, allocations: 8.125 kB / 378 MB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.245e-05/0.003654, allocations: 27.92 kB / 378 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.003788, allocations: 124.6 kB / 378.2 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.003955, allocations: 63.03 kB / 378.2 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.003989, allocations: 23.67 kB / 378.2 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.004155, allocations: 31.95 kB / 378.3 MB, free: 2.598 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.004179, allocations: 45.61 kB / 378.3 MB, free: 2.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.00418, allocations: 0 / 378.3 MB, free: 2.543 MB / 346.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.06177/0.06595, allocations: 6.107 MB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.06599, allocations: 59.41 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.06606, allocations: 161.9 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.0661, allocations: 29.7 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.736e-05/0.06614, allocations: 130.9 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.323e-05/0.06621, allocations: 71.41 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.06632, allocations: 91.25 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.06655, allocations: 0.4884 MB / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.06679, allocations: 215.9 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.06702, allocations: 222.3 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009128/0.06794, allocations: 0.4994 MB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.06794, allocations: 0 / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008573/0.06879, allocations: 0.5815 MB / 387 MB, free: 9.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.06881, allocations: 4 kB / 387 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.06882, allocations: 0 / 387 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.06883, allocations: 3.938 kB / 387 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.06915, allocations: 99.84 kB / 387.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.06916, allocations: 4 kB / 387.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.06934, allocations: 23.97 kB / 387.1 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/0.06937, allocations: 35.94 kB / 387.1 MB, free: 9.625 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (19): * Single equations (assignments): 19 * 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 0.000117/0.06949, allocations: 164.5 kB / 387.3 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.06956, allocations: 15.89 kB / 387.3 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.07059, allocations: 0.6812 MB / 388 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.0706, allocations: 4 kB / 388 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.0706, allocations: 4 kB / 388 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.0706, allocations: 0 / 388 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.07278, allocations: 1.041 MB / 389 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.07278, allocations: 4 kB / 389 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.07303, allocations: 95.81 kB / 389.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.07303, allocations: 4 kB / 389.1 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.07306, allocations: 27.95 kB / 389.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.07307, allocations: 12.12 kB / 389.2 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.07307, allocations: 4 kB / 389.2 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000787/0.07386, allocations: 0.5851 MB / 389.8 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.07387, allocations: 7.953 kB / 389.8 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.07391, allocations: 8 kB / 389.8 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.07409, allocations: 31.91 kB / 389.8 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.07412, allocations: 15.92 kB / 389.8 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.07415, allocations: 27.95 kB / 389.8 MB, free: 6.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.804e-05/0.07419, allocations: 131.2 kB / 390 MB, free: 6.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07419, allocations: 0 / 390 MB, free: 6.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001324/0.07551, allocations: 0.648 MB / 390.6 MB, free: 5.992 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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.002216/0.07773, allocations: 322.5 kB / 390.9 MB, free: 5.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005673/0.07829, allocations: 431.3 kB / 391.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.0783, allocations: 0 / 391.4 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.07852, allocations: 197.3 kB / 391.6 MB, free: 5.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.07875, allocations: 47.94 kB / 391.6 MB, free: 5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.07992, allocations: 0.5084 MB / 392.1 MB, free: 4.438 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.349e-05/0.07996, allocations: 63.59 kB / 392.2 MB, free: 4.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002801/0.08024, allocations: 129 kB / 392.3 MB, free: 4.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.08046, allocations: 92.34 kB / 392.4 MB, free: 4.133 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/0.08046, allocations: 3.938 kB / 392.4 MB, free: 4.129 MB / 362.7 MB Notification: Performance of Templates: time 0.1727/0.2532, allocations: 59.59 MB / 452 MB, free: 106 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.536591819021851]