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.001382/0.001382, allocations: 77.23 kB / 19.93 MB, free: 1.785 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.001544/0.001544, allocations: 163.5 kB / 23.21 MB, free: 4.906 MB / 14.72 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 1.44/1.44, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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.2099/0.2099, allocations: 32.37 MB / 269.6 MB, free: 4.676 MB / 254.1 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.463e-06/1.463e-06, allocations: 0 / 407.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.931e-05, allocations: 2.281 kB / 407.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.001538/0.001567, allocations: 0.5296 MB / 407.9 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007817/0.002349, allocations: 380.6 kB / 408.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.002377, allocations: 0 / 408.3 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.002396, allocations: 3.938 kB / 408.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.048e-05/0.002427, allocations: 4 kB / 408.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.002926, allocations: 146.8 kB / 408.4 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.002992, allocations: 27.91 kB / 408.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.003036, allocations: 3.984 kB / 408.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.674e-05/0.003072, allocations: 15.98 kB / 408.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.003121, allocations: 15.91 kB / 408.5 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.003137, allocations: 4 kB / 408.5 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.003384, allocations: 135.8 kB / 408.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.0034, allocations: 7.984 kB / 408.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.003419, allocations: 7.938 kB / 408.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.003667, allocations: 147.7 kB / 408.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003669, allocations: 0 / 408.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003669, allocations: 0 / 408.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.003674, allocations: 0 / 408.8 MB, free: 1.617 MB / 334.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.0004548/0.004128, allocations: 297.9 kB / 409.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.004177, allocations: 12.03 kB / 409.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.00421, allocations: 4.891 kB / 409.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.004336, allocations: 113.7 kB / 409.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.004343, allocations: 384 / 409.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.004372, allocations: 12.33 kB / 409.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.004497, allocations: 58.17 kB / 409.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.004509, allocations: 4.188 kB / 409.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.00452, allocations: 4.375 kB / 409.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.004526, allocations: 4.125 kB / 409.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.345e-05/0.0046, allocations: 23.98 kB / 409.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.004765, allocations: 117.2 kB / 409.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.004971, allocations: 50.59 kB / 409.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.032e-05/0.005032, allocations: 28.84 kB / 409.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/0.005294, allocations: 31.95 kB / 409.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.005324, allocations: 34.56 kB / 409.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.005325, allocations: 0 / 409.5 MB, free: 0.7266 MB / 334.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.15/0.1554, allocations: 6.391 MB / 415.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1554, allocations: 51.41 kB / 416 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.1555, allocations: 105.8 kB / 416.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.1556, allocations: 29.7 kB / 416.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.1556, allocations: 80.14 kB / 416.2 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1557, allocations: 67.42 kB / 416.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.1559, allocations: 93.59 kB / 416.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1561, allocations: 318.8 kB / 416.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006176/0.1567, allocations: 228.3 kB / 416.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.1573, allocations: 235.2 kB / 417.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.1597, allocations: 0.559 MB / 417.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1597, allocations: 0 / 417.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002084/0.1618, allocations: 0.6143 MB / 418.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1618, allocations: 7.938 kB / 418.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1618, allocations: 0 / 418.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.1618, allocations: 4 kB / 418.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/0.1625, allocations: 107.8 kB / 418.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1625, allocations: 0 / 418.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.163, allocations: 23.97 kB / 418.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/0.1631, allocations: 32.19 kB / 418.5 MB, free: 7.715 MB / 350.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.0001811/0.1632, allocations: 121.8 kB / 418.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/0.1633, allocations: 11.89 kB / 418.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.1657, allocations: 0.7276 MB / 419.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.1657, allocations: 7.984 kB / 419.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1657, allocations: 4 kB / 419.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1657, allocations: 0 / 419.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/0.1699, allocations: 1.044 MB / 420.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.1699, allocations: 4 kB / 420.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.1705, allocations: 99.8 kB / 420.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.443e-06/0.1705, allocations: 12.12 kB / 420.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/0.1706, allocations: 23.95 kB / 420.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.1706, allocations: 7.938 kB / 420.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.1706, allocations: 4 kB / 420.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.1724, allocations: 0.5704 MB / 421.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.1724, allocations: 15.95 kB / 421.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.177e-05/0.1725, allocations: 4 kB / 421.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.173, allocations: 31.89 kB / 421.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.173, allocations: 11.98 kB / 421.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.494e-05/0.1731, allocations: 31.95 kB / 421.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.4e-05/0.1731, allocations: 83.27 kB / 421.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1731, allocations: 0 / 421.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00189/0.175, allocations: 0.6519 MB / 421.9 MB, free: 4.145 MB / 350.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.003297/0.1783, allocations: 326.5 kB / 422.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.1796, allocations: 431.5 kB / 422.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1796, allocations: 0 / 422.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.1802, allocations: 203.9 kB / 422.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.1805, allocations: 11.94 kB / 422.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.1831, allocations: 0.5253 MB / 423.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.313e-05/0.1831, allocations: 79.56 kB / 423.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004331/0.1836, allocations: 129.2 kB / 423.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.1839, allocations: 84.36 kB / 423.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1839, allocations: 0 / 423.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of Templates: time 0.3968/0.5807, allocations: 58.29 MB / 482 MB, free: 53.2 MB / 398.1 MB " [Timeout remaining time 659] 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: 6.0338139198720455]