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.00151/0.00151, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.002143/0.002143, allocations: 168 kB / 24.91 MB, free: 8.262 MB / 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 0.9598/0.9598, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2313/0.2313, allocations: 32.8 MB / 294.6 MB, free: 1.27 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 1.112e-06/1.112e-06, allocations: 3.938 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.866e-05, allocations: 2.312 kB / 323.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0012/0.001219, allocations: 0.582 MB / 323.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004818/0.001701, allocations: 351.2 kB / 324.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.001724, allocations: 0 / 324.2 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.001739, allocations: 3.938 kB / 324.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.87e-05/0.001778, allocations: 4 kB / 324.2 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.002055, allocations: 87.59 kB / 324.3 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.982e-05/0.002105, allocations: 31.91 kB / 324.3 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.002138, allocations: 7.984 kB / 324.3 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.643e-05/0.002175, allocations: 15.92 kB / 324.3 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.002222, allocations: 15.97 kB / 324.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.002236, allocations: 0 / 324.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.00243, allocations: 123.9 kB / 324.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.002445, allocations: 11.91 kB / 324.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.308e-05/0.002458, allocations: 8 kB / 324.5 MB, free: 8.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.002599, allocations: 119.6 kB / 324.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.002604, allocations: 0 / 324.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.002605, allocations: 0 / 324.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.002608, allocations: 4 kB / 324.6 MB, free: 8.352 MB / 298.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.0002451/0.002854, allocations: 270.5 kB / 324.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.002884, allocations: 12.03 kB / 324.9 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.473e-05/0.002909, allocations: 4.922 kB / 324.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.23e-05/0.002981, allocations: 121.6 kB / 325 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.00299, allocations: 4.375 kB / 325 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.003007, allocations: 8.375 kB / 325 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.164e-05/0.003068, allocations: 46.23 kB / 325.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.003077, allocations: 192 / 325.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.003083, allocations: 384 / 325.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.003088, allocations: 8.375 kB / 325.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.751e-05/0.003116, allocations: 15.92 kB / 325.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.357e-05/0.003199, allocations: 68.98 kB / 325.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.003314, allocations: 46.55 kB / 325.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.003332, allocations: 12.86 kB / 325.2 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.003461, allocations: 35.95 kB / 325.2 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.003479, allocations: 34.56 kB / 325.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 8.72e-07/0.00348, allocations: 0 / 325.3 MB, free: 7.586 MB / 298.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.01511/0.01859, allocations: 2.179 MB / 327.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.01862, allocations: 51.41 kB / 327.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.717e-05/0.01868, allocations: 114.7 kB / 327.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.0187, allocations: 25.7 kB / 327.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.139e-05/0.01872, allocations: 88.14 kB / 327.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.01878, allocations: 63.42 kB / 327.8 MB, free: 5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.01885, allocations: 41.67 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.01893, allocations: 322.8 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.01901, allocations: 87.98 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.492e-05/0.0191, allocations: 90.73 kB / 328.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.01943, allocations: 264.6 kB / 328.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01943, allocations: 0 / 328.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003105/0.01975, allocations: 260 kB / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.01976, allocations: 11.94 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.01977, allocations: 256 / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.01978, allocations: 4 kB / 328.9 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.01997, allocations: 67.86 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.01997, allocations: 0 / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.02005, allocations: 19.97 kB / 328.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.02007, allocations: 11.98 kB / 328.9 MB, free: 3.824 MB / 298.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 7.902e-05/0.02015, allocations: 113.8 kB / 329.1 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.02018, allocations: 4 kB / 329.1 MB, free: 3.699 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.02061, allocations: 357.8 kB / 329.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.02061, allocations: 0 / 329.4 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.02061, allocations: 4 kB / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.02062, allocations: 3.938 kB / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008007/0.02142, allocations: 0.5462 MB / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.02142, allocations: 0 / 330 MB, free: 2.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.02156, allocations: 59.86 kB / 330 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.02157, allocations: 4 kB / 330 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.02158, allocations: 11.98 kB / 330 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.02159, allocations: 4 kB / 330 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02159, allocations: 0 / 330 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.02187, allocations: 310.8 kB / 330.3 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.02188, allocations: 11.95 kB / 330.4 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.0219, allocations: 8 kB / 330.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.02199, allocations: 19.97 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.02201, allocations: 15.92 kB / 330.4 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.02202, allocations: 7.984 kB / 330.4 MB, free: 2.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.079e-05/0.02204, allocations: 8.859 kB / 330.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02204, allocations: 0 / 330.4 MB, free: 2.258 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005916/0.02263, allocations: 323.6 kB / 330.7 MB, free: 1.941 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.0008174/0.02344, allocations: 259.8 kB / 331 MB, free: 1.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002278/0.02367, allocations: 192.7 kB / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.02368, allocations: 0 / 331.2 MB, free: 1.484 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.574e-05/0.02376, allocations: 81.58 kB / 331.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.02391, allocations: 23.98 kB / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/0.02444, allocations: 337.3 kB / 331.6 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.799e-05/0.02448, allocations: 67.58 kB / 331.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.02465, allocations: 97.16 kB / 331.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.02482, allocations: 71.34 kB / 331.8 MB, free: 0.75 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02482, allocations: 0 / 331.8 MB, free: 0.75 MB / 298.7 MB Notification: Performance of Templates: time 0.02003/0.04485, allocations: 19.57 MB / 351.4 MB, free: 13.24 MB / 330.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] 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","",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.9669760270044208]