Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001347/0.001347, allocations: 80.8 kB / 21.49 MB, free: 2.988 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.00156/0.00156, allocations: 168.7 kB / 24.91 MB, free: 8.77 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.952/0.952, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2541/0.2541, allocations: 34.27 MB / 296.1 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 325.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.44e-05, allocations: 3.188 kB / 325.2 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.001188/0.001212, allocations: 0.5449 MB / 325.8 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005441/0.001756, allocations: 350.6 kB / 326.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.001787, allocations: 0 / 326.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.001805, allocations: 3.938 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.86e-05/0.001844, allocations: 3.938 kB / 326.1 MB, free: 6.797 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.002211, allocations: 107.6 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.508e-05/0.002266, allocations: 28.53 kB / 326.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.002301, allocations: 4 kB / 326.3 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.321e-05/0.002334, allocations: 19.91 kB / 326.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.143e-05/0.002386, allocations: 15.98 kB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.0024, allocations: 0 / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.002584, allocations: 111.8 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.002598, allocations: 7.984 kB / 326.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.502e-05/0.002613, allocations: 11.92 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.002762, allocations: 111.7 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.002766, allocations: 4 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.002767, allocations: 0 / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.00277, allocations: 0 / 326.5 MB, free: 6.383 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.0002729/0.003043, allocations: 270 kB / 326.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.003076, allocations: 12.03 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.003104, allocations: 12.92 kB / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.231e-05/0.003176, allocations: 113.7 kB / 326.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.003186, allocations: 4.375 kB / 326.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.003206, allocations: 384 / 326.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.545e-05/0.003281, allocations: 50.23 kB / 327 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.00329, allocations: 4.172 kB / 327 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.003298, allocations: 4.375 kB / 327 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.003304, allocations: 4.359 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.317e-05/0.003337, allocations: 23.86 kB / 327 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001021/0.003439, allocations: 61.55 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.003579, allocations: 50.56 kB / 327.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.003599, allocations: 12.86 kB / 327.1 MB, free: 5.691 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.00375, allocations: 31.95 kB / 327.2 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.003771, allocations: 34.56 kB / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.003772, allocations: 0 / 327.2 MB, free: 5.617 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.01873/0.0225, allocations: 2.178 MB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.02254, allocations: 51.41 kB / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.177e-05/0.0226, allocations: 110.7 kB / 329.5 MB, free: 3.219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.02263, allocations: 29.7 kB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.214e-05/0.02265, allocations: 80.14 kB / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.02271, allocations: 63.42 kB / 329.7 MB, free: 3.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.074e-05/0.0228, allocations: 41.67 kB / 329.8 MB, free: 2.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.134e-05/0.02288, allocations: 326.8 kB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.023, allocations: 87.98 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.02311, allocations: 87.98 kB / 330.2 MB, free: 2.492 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003526/0.02663, allocations: 271 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.02663, allocations: 256 / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000403/0.02704, allocations: 257.6 kB / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.02705, allocations: 7.938 kB / 330.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.02706, allocations: 8 kB / 330.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.02708, allocations: 0 / 330.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.02731, allocations: 55.88 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.02731, allocations: 4 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.02742, allocations: 23.97 kB / 330.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.02744, allocations: 3.984 kB / 330.9 MB, free: 1.867 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 9.688e-05/0.02754, allocations: 113.8 kB / 331 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.449e-05/0.02758, allocations: 12 kB / 331 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005586/0.02814, allocations: 353.8 kB / 331.3 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.02815, allocations: 4 kB / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.02815, allocations: 0 / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.02815, allocations: 0 / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.02917, allocations: 0.547 MB / 331.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.02917, allocations: 4 kB / 331.9 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003178/0.03235, allocations: 52.08 kB / 331.9 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.03235, allocations: 4 kB / 331.9 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.03237, allocations: 7.984 kB / 331.9 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.03238, allocations: 0 / 331.9 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.03238, allocations: 4 kB / 332 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.03277, allocations: 316.9 kB / 332.3 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.03278, allocations: 15.92 kB / 332.3 MB, free: 368 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.03281, allocations: 7.938 kB / 332.3 MB, free: 360 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.03294, allocations: 23.98 kB / 332.3 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.03296, allocations: 15.91 kB / 332.3 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.03298, allocations: 11.98 kB / 332.3 MB, free: 308 kB / 298.7 MB Notification: Performance of sorting global known variables: time 1.618e-05/0.033, allocations: 12.86 kB / 332.3 MB, free: 292 kB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.033, allocations: 0 / 332.3 MB, free: 292 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007943/0.03379, allocations: 319.6 kB / 332.7 MB, free: 15.97 MB / 314.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.001013/0.03481, allocations: 251.8 kB / 332.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.0351, allocations: 184.7 kB / 333.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.0351, allocations: 4 kB / 333.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003133/0.03824, allocations: 95.42 kB / 333.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.03845, allocations: 22.48 kB / 333.2 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000702/0.03915, allocations: 334.6 kB / 333.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.696e-05/0.03919, allocations: 63.59 kB / 333.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000234/0.03943, allocations: 92.97 kB / 333.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.03964, allocations: 75.34 kB / 333.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/0.03964, allocations: 0 / 333.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of Templates: time 0.04321/0.08284, allocations: 19.57 MB / 353.3 MB, free: 11.29 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.089301396161318]