Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007476/0.0007476, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007715/0.0007715, allocations: 173.9 kB / 23.96 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7612/0.7612, allocations: 158.6 MB / 185.7 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1157/0.1157, allocations: 32.37 MB / 270.3 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.602e-05/1.707e-05, allocations: 5.938 kB / 408.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0008951/0.0009121, allocations: 0.5378 MB / 408.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000478/0.00139, allocations: 380.6 kB / 409 MB, free: 12.12 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.001414, allocations: 0 / 409 MB, free: 12.12 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.00143, allocations: 3.938 kB / 409 MB, free: 12.11 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.45e-05/0.001454, allocations: 0 / 409 MB, free: 12.11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.001806, allocations: 143.4 kB / 409.2 MB, free: 11.97 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.004e-05/0.001856, allocations: 27.91 kB / 409.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.001895, allocations: 4 kB / 409.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.002152, allocations: 11.98 kB / 409.2 MB, free: 11.93 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.002195, allocations: 19.91 kB / 409.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.002206, allocations: 0 / 409.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.002361, allocations: 135.8 kB / 409.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.002374, allocations: 7.984 kB / 409.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.55e-05/0.002389, allocations: 7.938 kB / 409.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.002548, allocations: 143.7 kB / 409.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.002549, allocations: 4 kB / 409.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.00255, allocations: 7.875 kB / 409.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.002554, allocations: 0 / 409.5 MB, free: 11.61 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.0003063/0.00286, allocations: 294 kB / 409.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.00289, allocations: 8.031 kB / 409.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.002919, allocations: 8.891 kB / 409.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.382e-05/0.002983, allocations: 101.8 kB / 409.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.002994, allocations: 8.375 kB / 409.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.003015, allocations: 16.25 kB / 409.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.861e-05/0.003104, allocations: 50.25 kB / 410 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.003114, allocations: 8.125 kB / 410 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.003121, allocations: 384 / 410 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.003126, allocations: 4.125 kB / 410 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.767e-05/0.003173, allocations: 27.97 kB / 410 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.003286, allocations: 121.2 kB / 410.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.003442, allocations: 58.58 kB / 410.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.003471, allocations: 16.86 kB / 410.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.003614, allocations: 31.95 kB / 410.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.003629, allocations: 38.56 kB / 410.3 MB, free: 10.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 7.52e-07/0.00363, allocations: 0 / 410.3 MB, free: 10.72 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.05679/0.06042, allocations: 6.392 MB / 416.7 MB, free: 4.293 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.06045, allocations: 51.41 kB / 416.7 MB, free: 4.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.351e-05/0.0605, allocations: 101.8 kB / 416.8 MB, free: 4.121 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.06053, allocations: 29.7 kB / 416.9 MB, free: 4.086 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.06056, allocations: 84.14 kB / 416.9 MB, free: 4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6e-05/0.06062, allocations: 63.44 kB / 417 MB, free: 3.938 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.06072, allocations: 89.58 kB / 417.1 MB, free: 3.844 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.016e-05/0.06079, allocations: 322.8 kB / 417.4 MB, free: 3.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.0611, allocations: 223.8 kB / 417.6 MB, free: 3.301 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.0614, allocations: 231.8 kB / 417.9 MB, free: 3.074 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.06248, allocations: 0.5589 MB / 418.4 MB, free: 2.516 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.06248, allocations: 0 / 418.4 MB, free: 2.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009916/0.06347, allocations: 0.6221 MB / 419 MB, free: 1.887 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.06349, allocations: 8 kB / 419 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.0635, allocations: 0 / 419 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.06351, allocations: 3.938 kB / 419 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.0638, allocations: 104.1 kB / 419.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.06381, allocations: 0 / 419.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.06398, allocations: 23.97 kB / 419.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/0.06402, allocations: 43.86 kB / 419.2 MB, free: 1.707 MB / 346.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.0001029/0.06413, allocations: 117.8 kB / 419.3 MB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.06417, allocations: 15.88 kB / 419.3 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.06534, allocations: 0.7241 MB / 420.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.06534, allocations: 0 / 420.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.06535, allocations: 4 kB / 420.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.06535, allocations: 3.938 kB / 420.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.06737, allocations: 1.052 MB / 421.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.06737, allocations: 3.938 kB / 421.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.0676, allocations: 95.86 kB / 421.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.0676, allocations: 192 / 421.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.06763, allocations: 35.95 kB / 421.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.06764, allocations: 11.86 kB / 421.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.06764, allocations: 4 kB / 421.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.06853, allocations: 0.5701 MB / 421.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.06854, allocations: 11.95 kB / 421.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.06857, allocations: 11.98 kB / 421.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.06875, allocations: 27.91 kB / 421.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.06877, allocations: 15.97 kB / 421.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.0688, allocations: 27.95 kB / 421.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.838e-05/0.06882, allocations: 83.28 kB / 422 MB, free: 14.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.06882, allocations: 0 / 422 MB, free: 14.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00113/0.06995, allocations: 0.648 MB / 422.7 MB, free: 14.14 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.001992/0.07195, allocations: 322.5 kB / 423 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006665/0.07261, allocations: 435.5 kB / 423.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.07262, allocations: 0 / 423.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005416/0.07316, allocations: 200 kB / 423.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.07336, allocations: 15.94 kB / 423.6 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.07449, allocations: 0.5464 MB / 424.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.234e-05/0.07454, allocations: 79.56 kB / 424.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.07474, allocations: 88.34 kB / 424.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.07474, allocations: 0 / 424.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Templates: time 0.1489/0.2236, allocations: 15.99 MB / 440.3 MB, free: 29.94 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.7181390803307295]