Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.001931/0.001931, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.002516/0.002516, allocations: 157.6 kB / 23.52 MB, free: 0.918 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 1.506/1.506, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.2342/0.2342, allocations: 32.38 MB / 270 MB, free: 14.77 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.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.681e-05/2.837e-05, allocations: 2.312 kB / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001183/0.001212, allocations: 0.4986 MB / 347.4 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.002809, allocations: 1.547 MB / 349 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.679e-05/0.002826, allocations: 0 / 349 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.002842, allocations: 0 / 349 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.002849, allocations: 0 / 349 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008156/0.003664, allocations: 295 kB / 349.3 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.067e-05/0.003705, allocations: 8 kB / 349.3 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.768e-05/0.003733, allocations: 0 / 349.3 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.003756, allocations: 0 / 349.3 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.919e-05/0.003775, allocations: 3.938 kB / 349.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.895e-06/0.003783, allocations: 0 / 349.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.004288, allocations: 423 kB / 349.7 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.004295, allocations: 0 / 349.7 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.00432, allocations: 3.938 kB / 349.7 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.004654, allocations: 311.2 kB / 350 MB, free: 6.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.004657, allocations: 4 kB / 350 MB, free: 6.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004658, allocations: 0 / 350 MB, free: 6.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.004662, allocations: 0 / 350 MB, free: 6.738 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002973/0.004959, allocations: 303.7 kB / 350.3 MB, free: 6.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.005006, allocations: 8.031 kB / 350.3 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.005051, allocations: 0.9375 kB / 350.3 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.916e-05/0.005111, allocations: 109.7 kB / 350.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.005124, allocations: 384 / 350.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.005133, allocations: 384 / 350.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.76e-05/0.00522, allocations: 63.95 kB / 350.5 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.005229, allocations: 192 / 350.5 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.005237, allocations: 384 / 350.5 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.005242, allocations: 7.938 kB / 350.5 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.028e-05/0.005262, allocations: 25.7 kB / 350.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.051e-05/0.005343, allocations: 101.3 kB / 350.6 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.034e-05/0.005383, allocations: 44.31 kB / 350.6 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.005401, allocations: 38.55 kB / 350.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.00541, allocations: 0 / 350.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.005441, allocations: 56.27 kB / 350.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.482e-06/0.005443, allocations: 8 kB / 350.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001874/0.00563, allocations: 118.8 kB / 350.9 MB, free: 5.699 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.005658, allocations: 81.05 kB / 350.9 MB, free: 5.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.499e-05/0.005683, allocations: 89.86 kB / 351 MB, free: 5.504 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.005691, allocations: 25.7 kB / 351 MB, free: 5.473 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.13e-05/0.005702, allocations: 84.08 kB / 351.1 MB, free: 5.387 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.005716, allocations: 0 / 351.1 MB, free: 5.387 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.005739, allocations: 13.72 kB / 351.1 MB, free: 5.367 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.005795, allocations: 314.8 kB / 351.4 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.00581, allocations: 29.7 kB / 351.5 MB, free: 5.016 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.729e-06/0.00582, allocations: 29.83 kB / 351.5 MB, free: 4.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.011e-05/0.00586, allocations: 64.25 kB / 351.6 MB, free: 4.902 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.005861, allocations: 0 / 351.6 MB, free: 4.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.413e-05/0.005916, allocations: 89.11 kB / 351.7 MB, free: 4.797 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.005934, allocations: 29.7 kB / 351.7 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.005939, allocations: 3.984 kB / 351.7 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.005957, allocations: 7.938 kB / 351.7 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.005959, allocations: 3.938 kB / 351.7 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.005964, allocations: 3.938 kB / 351.7 MB, free: 4.742 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.355e-05/0.005978, allocations: 3.953 kB / 351.7 MB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.005983, allocations: 4.094 kB / 351.7 MB, free: 4.734 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: 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 4.348e-05/0.006027, allocations: 135.5 kB / 351.8 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-06/0.006035, allocations: 0 / 351.8 MB, free: 4.586 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.006e-05/0.006045, allocations: 3 kB / 351.8 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.006046, allocations: 0 / 351.8 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.006051, allocations: 4 kB / 351.9 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.006054, allocations: 3.938 kB / 351.9 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.716e-05/0.006091, allocations: 101.3 kB / 352 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.006092, allocations: 0 / 352 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.006092, allocations: 0 / 352 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.006093, allocations: 4 kB / 352 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.0061, allocations: 4 kB / 352 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006101, allocations: 0 / 352 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006101, allocations: 0 / 352 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.251e-05/0.006174, allocations: 128.4 kB / 352.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-06/0.006178, allocations: 0 / 352.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.006189, allocations: 4 kB / 352.1 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-06/0.006198, allocations: 0 / 352.1 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.853e-05/0.006216, allocations: 4 kB / 352.1 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.006218, allocations: 0 / 352.1 MB, free: 4.273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.545e-05/0.006234, allocations: 87.28 kB / 352.2 MB, free: 4.188 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006234, allocations: 0 / 352.2 MB, free: 4.188 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003026/0.006536, allocations: 63.8 kB / 352.2 MB, free: 4.125 MB / 282.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.0004145/0.006951, allocations: 199.5 kB / 352.4 MB, free: 3.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.672e-05/0.007038, allocations: 114.8 kB / 352.6 MB, free: 3.797 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007039, allocations: 0 / 352.6 MB, free: 3.797 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.388e-05/0.007063, allocations: 85.05 kB / 352.6 MB, free: 3.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.007192, allocations: 4 kB / 352.6 MB, free: 3.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001724/0.007364, allocations: 115.9 kB / 352.8 MB, free: 3.547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.865e-05/0.007393, allocations: 51.36 kB / 352.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.85e-06/0.007398, allocations: 128 / 352.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.215e-05/0.00741, allocations: 16.5 kB / 352.8 MB, free: 3.461 MB / 282.7 MB Notification: Performance of SimCode: time 3.71e-07/0.00741, allocations: 0 / 352.8 MB, free: 3.461 MB / 282.7 MB Notification: Performance of Templates: time 0.003738/0.01115, allocations: 1.303 MB / 354.1 MB, free: 2.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.799003993044607]