Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.001816/0.001816, allocations: 124.5 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002208/0.002208, allocations: 207.2 kB / 20.75 MB, free: 2.316 MB / 14.72 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.518/1.518, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2368/0.2368, allocations: 46.92 MB / 357.1 MB, free: 10.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 71.89 kB / 0.4914 GB, free: 7.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1109, allocations: 65.99 MB / 0.5558 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.00162/0.1125, allocations: 0.532 MB / 0.5564 GB, free: 4.758 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.000727/0.1132, allocations: 371.3 kB / 0.5567 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.1132, allocations: 4 kB / 0.5567 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.1132, allocations: 3.938 kB / 0.5567 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.679e-05/0.1133, allocations: 3.938 kB / 0.5567 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.1137, allocations: 107.6 kB / 0.5568 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.1137, allocations: 23.92 kB / 0.5569 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.673e-05/0.1138, allocations: 8 kB / 0.5569 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.26e-05/0.1138, allocations: 11.94 kB / 0.5569 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.948e-05/0.1139, allocations: 19.91 kB / 0.5569 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1139, allocations: 8 kB / 0.5569 GB, free: 4.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.1141, allocations: 111.9 kB / 0.557 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.1141, allocations: 11.97 kB / 0.557 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.1142, allocations: 15.88 kB / 0.557 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.1143, allocations: 95.69 kB / 0.5571 GB, free: 3.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1143, allocations: 0 / 0.5571 GB, free: 3.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1143, allocations: 0 / 0.5571 GB, free: 3.977 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1144, allocations: 0 / 0.5571 GB, free: 3.977 MB / 414.1 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.0004865/0.1148, allocations: 367.1 kB / 0.5575 GB, free: 3.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1149, allocations: 12.03 kB / 0.5575 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.1149, allocations: 4.938 kB / 0.5575 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.115, allocations: 172.3 kB / 0.5577 GB, free: 3.344 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1151, allocations: 4.375 kB / 0.5577 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1151, allocations: 4.375 kB / 0.5577 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1152, allocations: 54.23 kB / 0.5577 GB, free: 3.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1152, allocations: 8.125 kB / 0.5577 GB, free: 3.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1152, allocations: 3.938 kB / 0.5577 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1152, allocations: 3.938 kB / 0.5577 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.704e-05/0.1153, allocations: 31.92 kB / 0.5578 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.1155, allocations: 177.6 kB / 0.5579 GB, free: 3.008 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.1158, allocations: 46.56 kB / 0.558 GB, free: 2.953 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.1158, allocations: 24.84 kB / 0.558 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.1161, allocations: 105.1 kB / 0.5581 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1161, allocations: 42.78 kB / 0.5581 GB, free: 2.754 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.1161, allocations: 0 / 0.5581 GB, free: 2.754 MB / 414.1 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.04589/0.162, allocations: 2.574 MB / 0.5607 GB, free: 148 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.1621, allocations: 51.69 kB / 0.5607 GB, free: 84 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1622, allocations: 105.8 kB / 0.5608 GB, free: 15.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.1622, allocations: 29.7 kB / 0.5608 GB, free: 15.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.1623, allocations: 87.83 kB / 0.5609 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.879e-05/0.1624, allocations: 63.44 kB / 0.561 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.1625, allocations: 57.69 kB / 0.561 GB, free: 15.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1627, allocations: 330.7 kB / 0.5613 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.1631, allocations: 171.9 kB / 0.5615 GB, free: 15.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.1636, allocations: 177.3 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.1647, allocations: 417.5 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1647, allocations: 0 / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001216/0.1659, allocations: 467.6 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.166, allocations: 4 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.166, allocations: 4 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.166, allocations: 0 / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004098/0.1664, allocations: 67.94 kB / 0.5626 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1664, allocations: 0 / 0.5626 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.1666, allocations: 23.97 kB / 0.5626 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.1667, allocations: 19.98 kB / 0.5626 GB, free: 14.06 MB / 430.1 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.0001425/0.1668, allocations: 123.9 kB / 0.5628 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.1669, allocations: 7.953 kB / 0.5628 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.1683, allocations: 0.533 MB / 0.5633 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1683, allocations: 4 kB / 0.5633 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1683, allocations: 7.984 kB / 0.5633 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1683, allocations: 3.984 kB / 0.5633 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/0.1707, allocations: 0.8816 MB / 0.5642 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1707, allocations: 4 kB / 0.5642 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/0.171, allocations: 59.95 kB / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.171, allocations: 4 kB / 0.5642 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.171, allocations: 20.23 kB / 0.5642 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.171, allocations: 3.938 kB / 0.5642 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.171, allocations: 8 kB / 0.5643 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.1721, allocations: 470.8 kB / 0.5647 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.1722, allocations: 89.05 kB / 0.5648 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.1722, allocations: 8 kB / 0.5648 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.1724, allocations: 19.92 kB / 0.5648 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.1724, allocations: 11.98 kB / 0.5648 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.1725, allocations: 23.98 kB / 0.5648 GB, free: 11.65 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.1725, allocations: 83.22 kB / 0.5649 GB, free: 11.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1725, allocations: 0 / 0.5649 GB, free: 11.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009534/0.1735, allocations: 319.6 kB / 0.5652 GB, free: 11.25 MB / 430.1 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.001478/0.175, allocations: 238.7 kB / 0.5655 GB, free: 11.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009115/0.1759, allocations: 327.7 kB / 0.5658 GB, free: 10.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1759, allocations: 0 / 0.5658 GB, free: 10.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003971/0.1763, allocations: 139.8 kB / 0.5659 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.1766, allocations: 20.3 kB / 0.5659 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.1779, allocations: 421.2 kB / 0.5663 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.1783, allocations: 0.6926 MB / 0.567 GB, free: 9.359 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000286/0.1786, allocations: 92.89 kB / 0.5671 GB, free: 9.266 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.1788, allocations: 51.39 kB / 0.5671 GB, free: 9.215 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1788, allocations: 0 / 0.5671 GB, free: 9.215 MB / 430.1 MB Notification: Performance of Templates: time 0.02541/0.2042, allocations: 17.8 MB / 0.5845 GB, free: 7.434 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.466779880225658]