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.001507/0.001507, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001553/0.001553, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.479/1.479, allocations: 177.2 MB / 204.6 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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.3214/0.3214, allocations: 32.79 MB / 293.9 MB, free: 1.219 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.392e-06/1.392e-06, allocations: 0 / 375.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.468e-05, allocations: 5.969 kB / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001554/0.001579, allocations: 0.54 MB / 375.8 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008093/0.002388, allocations: 366.8 kB / 376.2 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.002415, allocations: 0 / 376.2 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.002432, allocations: 3.938 kB / 376.2 MB, free: 4.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.002488, allocations: 7.938 kB / 376.2 MB, free: 4.062 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.002968, allocations: 139.5 kB / 376.3 MB, free: 3.926 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.909e-05/0.003027, allocations: 23.92 kB / 376.3 MB, free: 3.902 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.003062, allocations: 4 kB / 376.3 MB, free: 3.898 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.003104, allocations: 23.91 kB / 376.4 MB, free: 3.875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.003155, allocations: 7.984 kB / 376.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.003167, allocations: 0 / 376.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.003438, allocations: 143.8 kB / 376.5 MB, free: 3.727 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.003452, allocations: 3.938 kB / 376.5 MB, free: 3.723 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.003479, allocations: 15.98 kB / 376.5 MB, free: 3.707 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.003732, allocations: 143.5 kB / 376.7 MB, free: 3.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.003736, allocations: 4 kB / 376.7 MB, free: 3.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003737, allocations: 0 / 376.7 MB, free: 3.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.003742, allocations: 3.984 kB / 376.7 MB, free: 3.559 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.0004617/0.004204, allocations: 286 kB / 376.9 MB, free: 3.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.004239, allocations: 8.031 kB / 377 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.004283, allocations: 8.891 kB / 377 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.004463, allocations: 117.7 kB / 377.1 MB, free: 3.094 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.00448, allocations: 8.375 kB / 377.1 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.004503, allocations: 384 / 377.1 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.004639, allocations: 58.25 kB / 377.1 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.004653, allocations: 4.141 kB / 377.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.004665, allocations: 4.359 kB / 377.2 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.004673, allocations: 8.109 kB / 377.2 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.284e-05/0.004746, allocations: 31.92 kB / 377.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.004924, allocations: 117.3 kB / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.005142, allocations: 50.55 kB / 377.4 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.818e-05/0.00519, allocations: 16.86 kB / 377.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002735/0.005464, allocations: 39.95 kB / 377.4 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.005498, allocations: 34.78 kB / 377.4 MB, free: 2.672 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.005499, allocations: 3.938 kB / 377.4 MB, free: 2.668 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.1414/0.1469, allocations: 6.379 MB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.1469, allocations: 59.34 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.147, allocations: 105.9 kB / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/0.1471, allocations: 29.7 kB / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.1471, allocations: 84.12 kB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.1472, allocations: 63.44 kB / 384.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.1475, allocations: 93.59 kB / 384.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1476, allocations: 318.8 kB / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/0.1482, allocations: 227.8 kB / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005935/0.1488, allocations: 223.8 kB / 385 MB, free: 11.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/0.1511, allocations: 0.5653 MB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1512, allocations: 0 / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002104/0.1533, allocations: 0.6144 MB / 386.2 MB, free: 9.836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1533, allocations: 7.938 kB / 386.2 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1533, allocations: 0 / 386.2 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.1533, allocations: 0 / 386.2 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.154, allocations: 107.8 kB / 386.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.154, allocations: 3.938 kB / 386.3 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004839/0.1545, allocations: 27.95 kB / 386.3 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.92e-05/0.1546, allocations: 35.94 kB / 386.4 MB, free: 9.656 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.0001797/0.1547, allocations: 121.8 kB / 386.5 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.1549, allocations: 15.89 kB / 386.5 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.1572, allocations: 0.7227 MB / 387.2 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1572, allocations: 4 kB / 387.2 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1573, allocations: 4 kB / 387.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1573, allocations: 0 / 387.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004482/0.1617, allocations: 1.048 MB / 388.3 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1617, allocations: 4 kB / 388.3 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/0.1623, allocations: 99.97 kB / 388.4 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.1623, allocations: 8 kB / 388.4 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.706e-05/0.1624, allocations: 27.95 kB / 388.4 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.1624, allocations: 3.938 kB / 388.4 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.1624, allocations: 7.938 kB / 388.4 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.1643, allocations: 0.5744 MB / 389 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.1643, allocations: 11.94 kB / 389 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.9e-05/0.1644, allocations: 8.25 kB / 389 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00045/0.1649, allocations: 31.91 kB / 389.1 MB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.1649, allocations: 19.91 kB / 389.1 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/0.1649, allocations: 27.95 kB / 389.1 MB, free: 6.816 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.044e-05/0.165, allocations: 83.28 kB / 389.2 MB, free: 6.734 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.165, allocations: 0 / 389.2 MB, free: 6.734 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002088/0.1671, allocations: 0.648 MB / 389.8 MB, free: 6.086 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.00332/0.1704, allocations: 330.5 kB / 390.1 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.1717, allocations: 439.5 kB / 390.6 MB, free: 5.324 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1717, allocations: 3.938 kB / 390.6 MB, free: 5.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005929/0.1723, allocations: 195.7 kB / 390.8 MB, free: 5.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.1727, allocations: 56.97 kB / 390.8 MB, free: 5.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.1754, allocations: 0.5246 MB / 391.4 MB, free: 4.508 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.843e-05/0.1755, allocations: 83.42 kB / 391.4 MB, free: 4.402 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004888/0.176, allocations: 128.9 kB / 391.6 MB, free: 4.273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/0.1763, allocations: 96.34 kB / 391.7 MB, free: 4.18 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1763, allocations: 0 / 391.7 MB, free: 4.18 MB / 362.7 MB Notification: Performance of Templates: time 0.198/0.3744, allocations: 58.43 MB / 450.1 MB, free: 105.9 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.565265004057437]