Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.000972/0.000972, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.000927/0.000927, allocations: 165 kB / 23.79 MB, free: 0.7773 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.8013/0.8013, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1179/0.1179, allocations: 32.38 MB / 270.4 MB, free: 14.81 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.TestRegSquare2Derivatives,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.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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.382e-05, allocations: 2.312 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0008149/0.0008287, allocations: 0.5579 MB / 348.2 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004065/0.001235, allocations: 358.5 kB / 348.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.00126, allocations: 0 / 348.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.001279, allocations: 0 / 348.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.962e-05/0.001309, allocations: 3.938 kB / 348.6 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.001624, allocations: 103.6 kB / 348.7 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.235e-05/0.001677, allocations: 27.97 kB / 348.7 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.196e-05/0.001709, allocations: 3.938 kB / 348.7 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.99e-05/0.001739, allocations: 19.97 kB / 348.7 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.373e-05/0.001782, allocations: 11.98 kB / 348.7 MB, free: 8.391 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.001799, allocations: 4 kB / 348.7 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.00194, allocations: 103.9 kB / 348.8 MB, free: 8.285 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.001952, allocations: 15.92 kB / 348.8 MB, free: 8.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.001968, allocations: 4 kB / 348.9 MB, free: 8.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.002097, allocations: 123.6 kB / 349 MB, free: 8.145 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.002099, allocations: 0 / 349 MB, free: 8.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.002099, allocations: 0 / 349 MB, free: 8.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.002103, allocations: 0 / 349 MB, free: 8.145 MB / 282.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.0003326/0.002436, allocations: 392.3 kB / 349.4 MB, free: 7.723 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.002469, allocations: 12.03 kB / 349.4 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.002505, allocations: 8.891 kB / 349.4 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.057e-05/0.002565, allocations: 116.5 kB / 349.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.002576, allocations: 4.375 kB / 349.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.002597, allocations: 4.375 kB / 349.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.748e-05/0.002674, allocations: 50.19 kB / 349.5 MB, free: 7.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.002688, allocations: 192 / 349.5 MB, free: 7.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.002697, allocations: 4.375 kB / 349.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.002704, allocations: 4.375 kB / 349.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.555e-05/0.00274, allocations: 23.91 kB / 349.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.693e-05/0.002836, allocations: 128.6 kB / 349.7 MB, free: 7.309 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.002981, allocations: 67.06 kB / 349.8 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.003009, allocations: 19.69 kB / 349.8 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.003151, allocations: 31.95 kB / 349.8 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.003165, allocations: 37.39 kB / 349.9 MB, free: 7.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 7.71e-07/0.003166, allocations: 0 / 349.9 MB, free: 7.129 MB / 282.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.01683/0.02, allocations: 2.406 MB / 352.3 MB, free: 4.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.02002, allocations: 55.41 kB / 352.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.168e-05/0.02005, allocations: 157.9 kB / 352.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.02007, allocations: 29.7 kB / 352.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.514e-05/0.02008, allocations: 134.9 kB / 352.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.02012, allocations: 67.42 kB / 352.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.02019, allocations: 59.34 kB / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.943e-05/0.02023, allocations: 0.4923 MB / 353.3 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.02035, allocations: 148 kB / 353.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.02048, allocations: 147.2 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.02085, allocations: 359.8 kB / 353.9 MB, free: 2.992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.02085, allocations: 4 kB / 353.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004063/0.02126, allocations: 413.4 kB / 354.3 MB, free: 2.578 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.02127, allocations: 8 kB / 354.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.02127, allocations: 0 / 354.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.02128, allocations: 0 / 354.3 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.02145, allocations: 75.88 kB / 354.4 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.02145, allocations: 4 kB / 354.4 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.02154, allocations: 19.97 kB / 354.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.02156, allocations: 19.98 kB / 354.4 MB, free: 2.453 MB / 282.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 5.884e-05/0.02162, allocations: 156.6 kB / 354.6 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.02165, allocations: 23.83 kB / 354.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004887/0.02214, allocations: 497.2 kB / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.02214, allocations: 7.984 kB / 355.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.02215, allocations: 3.984 kB / 355.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.02215, allocations: 0 / 355.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008611/0.02301, allocations: 0.8001 MB / 355.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.02301, allocations: 192 / 355.9 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.02314, allocations: 75.88 kB / 356 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.02314, allocations: 4 kB / 356 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.02316, allocations: 11.98 kB / 356 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.02317, allocations: 4 kB / 356 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.02317, allocations: 7.938 kB / 356 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.02351, allocations: 465.8 kB / 356.5 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-06/0.02351, allocations: 7.953 kB / 356.5 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.02353, allocations: 11.98 kB / 356.5 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.02362, allocations: 19.98 kB / 356.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.02364, allocations: 23.91 kB / 356.5 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.02366, allocations: 12 kB / 356.5 MB, free: 228 kB / 282.7 MB Notification: Performance of sorting global known variables: time 1.652e-05/0.02367, allocations: 131.2 kB / 356.7 MB, free: 96 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02367, allocations: 0 / 356.7 MB, free: 96 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005309/0.0242, allocations: 315.8 kB / 357 MB, free: 15.78 MB / 298.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.0008991/0.0251, allocations: 260.8 kB / 357.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003302/0.02543, allocations: 299.5 kB / 357.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.02543, allocations: 0 / 357.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.02556, allocations: 125.9 kB / 357.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.02574, allocations: 35.92 kB / 357.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005875/0.02633, allocations: 416.6 kB / 358.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.76e-05/0.02637, allocations: 71.52 kB / 358.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.02653, allocations: 92.97 kB / 358.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.02668, allocations: 52.47 kB / 358.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02668, allocations: 0 / 358.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of Templates: time 0.01693/0.04361, allocations: 19.6 MB / 377.9 MB, free: 10.72 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegSquare2Derivatives/TestRegSquare2Derivatives.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.837804290931672]