Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.001061/0.001061, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.00128/0.00128, allocations: 168.8 kB / 24.91 MB, free: 9.156 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.9967/0.9967, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.3332/0.3332, allocations: 32.81 MB / 294.6 MB, free: 1.254 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.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 323.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.329e-05, allocations: 2.312 kB / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001223/0.001246, allocations: 0.5124 MB / 323.7 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.003663, allocations: 2.114 MB / 325.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.935e-05/0.003682, allocations: 8 kB / 325.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.003695, allocations: 0 / 325.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.274e-06/0.003702, allocations: 0 / 325.8 MB, free: 7.09 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.005311, allocations: 0.7673 MB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.611e-05/0.005357, allocations: 4.625 kB / 326.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.005394, allocations: 7.969 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.223e-05/0.005426, allocations: 0 / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.414e-05/0.00545, allocations: 4 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.773e-06/0.005457, allocations: 0 / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.007149, allocations: 1.544 MB / 328.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.007158, allocations: 4 kB / 328.2 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.306e-05/0.007171, allocations: 0 / 328.2 MB, free: 4.754 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.008846, allocations: 1.879 MB / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.00885, allocations: 0 / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.008851, allocations: 0 / 330 MB, free: 2.867 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.008855, allocations: 0 / 330 MB, free: 2.867 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006059/0.009461, allocations: 346.3 kB / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.009495, allocations: 12.03 kB / 330.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.009519, allocations: 0.9375 kB / 330.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.833e-05/0.009567, allocations: 105.8 kB / 330.5 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.009576, allocations: 384 / 330.5 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.009583, allocations: 4.375 kB / 330.5 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.896e-05/0.009642, allocations: 55.95 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.009649, allocations: 3.938 kB / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.009655, allocations: 7.938 kB / 330.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.009658, allocations: 0 / 330.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.416e-05/0.009672, allocations: 33.64 kB / 330.6 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.73e-05/0.009729, allocations: 57.05 kB / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.828e-05/0.009768, allocations: 40.28 kB / 330.7 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.009784, allocations: 38.64 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-06/0.009788, allocations: 3.984 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.00982, allocations: 60.27 kB / 330.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 6.32e-07/0.00982, allocations: 0 / 330.8 MB, free: 1.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001078/0.009928, allocations: 114.8 kB / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.009963, allocations: 81.05 kB / 331 MB, free: 1.754 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.242e-05/0.009995, allocations: 93.84 kB / 331.1 MB, free: 1.652 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.01, allocations: 29.83 kB / 331.1 MB, free: 1.617 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.01002, allocations: 84.14 kB / 331.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.01004, allocations: 1.203 kB / 331.2 MB, free: 1.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.01006, allocations: 9.719 kB / 331.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.01013, allocations: 314.8 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.01015, allocations: 25.7 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.01016, allocations: 25.7 kB / 331.6 MB, free: 1.137 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.457e-05/0.0102, allocations: 64.25 kB / 331.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01021, allocations: 0 / 331.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.164e-05/0.01026, allocations: 97.11 kB / 331.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.01029, allocations: 29.7 kB / 331.7 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01029, allocations: 0 / 331.7 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.0103, allocations: 0 / 331.7 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.026e-06/0.0103, allocations: 0 / 331.7 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.01031, allocations: 7.922 kB / 331.7 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.373e-05/0.01032, allocations: 4 kB / 331.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.01033, allocations: 0 / 331.8 MB, free: 0.8984 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.714e-05/0.01039, allocations: 131.5 kB / 331.9 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-06/0.01039, allocations: 4 kB / 331.9 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.638e-06/0.0104, allocations: 11.03 kB / 331.9 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.0104, allocations: 0 / 331.9 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.0104, allocations: 0 / 331.9 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01041, allocations: 3.938 kB / 331.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.469e-05/0.01045, allocations: 70.22 kB / 332 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-07/0.01045, allocations: 3.938 kB / 332 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-07/0.01045, allocations: 0 / 332 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.01045, allocations: 0 / 332 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.01046, allocations: 0 / 332 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.01046, allocations: 0 / 332 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.01046, allocations: 7.938 kB / 332 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.414e-05/0.01053, allocations: 116.5 kB / 332.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-06/0.01053, allocations: 0 / 332.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.01054, allocations: 0 / 332.1 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-06/0.01054, allocations: 4 kB / 332.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-06/0.01055, allocations: 4 kB / 332.1 MB, free: 500 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.01055, allocations: 0 / 332.1 MB, free: 500 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.05e-06/0.01056, allocations: 4.859 kB / 332.1 MB, free: 492 kB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01056, allocations: 0 / 332.1 MB, free: 492 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006939/0.01125, allocations: 295.6 kB / 332.4 MB, free: 196 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001006/0.01226, allocations: 497.3 kB / 332.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.718e-05/0.01236, allocations: 127.6 kB / 333 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.01236, allocations: 4 kB / 333 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.596e-05/0.01239, allocations: 85.97 kB / 333.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.452e-05/0.01243, allocations: 3.938 kB / 333.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001524/0.01258, allocations: 113.3 kB / 333.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.792e-05/0.01261, allocations: 55.36 kB / 333.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.07e-06/0.01262, allocations: 0 / 333.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.01264, allocations: 51.38 kB / 333.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01265, allocations: 4.125 kB / 333.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of Templates: time 0.01279/0.02544, allocations: 9.4 MB / 342.7 MB, free: 5.781 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.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: 4.845690723974258]