Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001435/0.001435, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001557/0.001557, 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.52/1.52, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3407/0.3407, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.TestRegSquare2Derivatives,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.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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.408e-06/4.408e-06, allocations: 4 kB / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.884e-05, allocations: 5.828 kB / 375.3 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001586/0.001615, allocations: 0.54 MB / 375.8 MB, free: 4.473 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007406/0.002356, allocations: 334.7 kB / 376.1 MB, free: 4.145 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.002386, allocations: 0 / 376.1 MB, free: 4.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.002401, allocations: 0 / 376.1 MB, free: 4.145 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.641e-05/0.002447, allocations: 7.875 kB / 376.1 MB, free: 4.137 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.002877, allocations: 107.6 kB / 376.2 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.732e-05/0.002944, allocations: 27.91 kB / 376.3 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/0.002982, allocations: 0 / 376.3 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.484e-05/0.003027, allocations: 19.92 kB / 376.3 MB, free: 3.984 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.003085, allocations: 11.97 kB / 376.3 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.003104, allocations: 4 kB / 376.3 MB, free: 3.969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.003345, allocations: 111.9 kB / 376.4 MB, free: 3.859 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.00336, allocations: 3.984 kB / 376.4 MB, free: 3.855 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.003389, allocations: 11.92 kB / 376.4 MB, free: 3.844 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.003616, allocations: 127.6 kB / 376.5 MB, free: 3.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003618, allocations: 0 / 376.5 MB, free: 3.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.003618, allocations: 0 / 376.5 MB, free: 3.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.003622, allocations: 0 / 376.5 MB, free: 3.719 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.00045/0.004072, allocations: 290 kB / 376.8 MB, free: 3.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.004109, allocations: 8.031 kB / 376.8 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.004156, allocations: 8.891 kB / 376.8 MB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.004278, allocations: 113.7 kB / 377 MB, free: 3.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.00429, allocations: 384 / 377 MB, free: 3.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.004317, allocations: 4.375 kB / 377 MB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.004461, allocations: 66.17 kB / 377 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.004477, allocations: 8.141 kB / 377 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.004488, allocations: 4.375 kB / 377 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.004492, allocations: 384 / 377 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.019e-05/0.004562, allocations: 27.92 kB / 377.1 MB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.004734, allocations: 113.3 kB / 377.2 MB, free: 2.996 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.004952, allocations: 50.59 kB / 377.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/0.005008, allocations: 28.84 kB / 377.3 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/0.005252, allocations: 27.97 kB / 377.3 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.005282, allocations: 38.55 kB / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.005284, allocations: 0 / 377.3 MB, free: 2.832 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.04221/0.0475, allocations: 2.579 MB / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.04756, allocations: 51.41 kB / 379.9 MB, free: 156 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.04767, allocations: 101.9 kB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.04771, allocations: 29.7 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.04779, allocations: 84.12 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.04789, allocations: 63.44 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.04803, allocations: 57.69 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.04822, allocations: 322.8 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/0.04867, allocations: 171.9 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.0491, allocations: 175.9 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.05026, allocations: 419 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.05026, allocations: 0 / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001222/0.05148, allocations: 469.3 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.0515, allocations: 10.66 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.05151, allocations: 4 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.05153, allocations: 0 / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004108/0.05194, allocations: 71.88 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.05195, allocations: 0 / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.05217, allocations: 20.23 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.05221, allocations: 15.98 kB / 381.9 MB, free: 14.14 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.000163/0.05238, allocations: 117.8 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.05245, allocations: 19.89 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.05389, allocations: 0.5471 MB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.0539, allocations: 7.984 kB / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.0539, allocations: 0 / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.05391, allocations: 0 / 382.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.05625, allocations: 0.7803 MB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.05625, allocations: 4 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.05657, allocations: 63.89 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.05658, allocations: 4 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.05662, allocations: 23.92 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.05662, allocations: 0 / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.05662, allocations: 7.938 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.0577, allocations: 460.5 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.05772, allocations: 15.94 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.05776, allocations: 4 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.05799, allocations: 19.98 kB / 384 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.05802, allocations: 19.91 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/0.05807, allocations: 20 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.336e-05/0.05814, allocations: 83.27 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05814, allocations: 0 / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001007/0.05914, allocations: 315.6 kB / 384.4 MB, free: 11.55 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.00145/0.06059, allocations: 258.7 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009345/0.06153, allocations: 323.7 kB / 385 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.06153, allocations: 0 / 385 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003929/0.06192, allocations: 144.2 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.06225, allocations: 37.02 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.06368, allocations: 421.6 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.06378, allocations: 87.42 kB / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003332/0.06412, allocations: 97.16 kB / 385.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.06433, allocations: 52.47 kB / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.06433, allocations: 0 / 385.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of Templates: time 0.02939/0.09372, allocations: 18.15 MB / 403.9 MB, free: 7.93 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.988879317999817]