Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.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.00172/0.00172, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002128/0.002128, allocations: 209.9 kB / 24.49 MB, free: 4.148 MB / 14.72 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 1.509/1.509, allocations: 230.6 MB / 258.3 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] 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.2234/0.2234, allocations: 44.92 MB / 359.6 MB, free: 6.273 MB / 286.1 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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 63.91 kB / 0.4943 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3067, allocations: 65.47 MB / 0.5582 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001666/0.3084, allocations: 0.4936 MB / 0.5587 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.3106, allocations: 1.579 MB / 0.5603 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.979e-05/0.3106, allocations: 0 / 0.5603 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.3106, allocations: 0 / 0.5603 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.949e-06/0.3106, allocations: 4 kB / 0.5603 GB, free: 5.617 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009113/0.3116, allocations: 251.3 kB / 0.5605 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.17e-05/0.3116, allocations: 4 kB / 0.5605 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.3116, allocations: 0 / 0.5605 GB, free: 5.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.415e-05/0.3116, allocations: 4 kB / 0.5605 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.311e-05/0.3117, allocations: 0 / 0.5605 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-06/0.3117, allocations: 0 / 0.5605 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.3128, allocations: 0.8039 MB / 0.5613 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-06/0.3128, allocations: 0 / 0.5613 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.3128, allocations: 8 kB / 0.5613 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007542/0.3136, allocations: 0.6577 MB / 0.5619 GB, free: 3.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3136, allocations: 3.938 kB / 0.5619 GB, free: 3.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3136, allocations: 0 / 0.5619 GB, free: 3.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.3136, allocations: 0 / 0.5619 GB, free: 3.895 MB / 398.1 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.0004284/0.314, allocations: 291.6 kB / 0.5622 GB, free: 3.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.314, allocations: 8.031 kB / 0.5622 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.3141, allocations: 0.9375 kB / 0.5622 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.262e-05/0.3141, allocations: 102.5 kB / 0.5623 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.3142, allocations: 4.375 kB / 0.5623 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.3142, allocations: 4.375 kB / 0.5623 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.228e-05/0.3142, allocations: 37.94 kB / 0.5624 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3143, allocations: 0 / 0.5624 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.842e-06/0.3143, allocations: 4 kB / 0.5624 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.3143, allocations: 0 / 0.5624 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.716e-05/0.3143, allocations: 3.938 kB / 0.5624 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.3144, allocations: 116.8 kB / 0.5625 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.407e-05/0.3145, allocations: 22.61 kB / 0.5625 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.3145, allocations: 8.844 kB / 0.5625 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-06/0.3145, allocations: 0 / 0.5625 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.3145, allocations: 64.27 kB / 0.5626 GB, free: 3.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3145, allocations: 0 / 0.5626 GB, free: 3.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001567/0.3147, allocations: 63.34 kB / 0.5626 GB, free: 3.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.3147, allocations: 81.11 kB / 0.5627 GB, free: 2.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/0.3148, allocations: 97.92 kB / 0.5628 GB, free: 2.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3148, allocations: 29.7 kB / 0.5628 GB, free: 2.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.3149, allocations: 80.14 kB / 0.5629 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.3149, allocations: 0 / 0.5629 GB, free: 2.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.3149, allocations: 13.72 kB / 0.5629 GB, free: 2.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.315, allocations: 310.8 kB / 0.5632 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-06/0.3151, allocations: 0 / 0.5632 GB, free: 2.383 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-06/0.3151, allocations: 4 kB / 0.5632 GB, free: 2.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.522e-05/0.3151, allocations: 68.27 kB / 0.5633 GB, free: 2.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3151, allocations: 0 / 0.5633 GB, free: 2.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.398e-05/0.3152, allocations: 67.33 kB / 0.5634 GB, free: 2.219 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.3152, allocations: 33.64 kB / 0.5634 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3152, allocations: 0 / 0.5634 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.3153, allocations: 4 kB / 0.5634 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.3153, allocations: 0 / 0.5634 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3153, allocations: 0 / 0.5634 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.3153, allocations: 4 kB / 0.5634 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.3153, allocations: 0 / 0.5634 GB, free: 2.172 MB / 398.1 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 0.0001001/0.3154, allocations: 151.5 kB / 0.5636 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.3154, allocations: 3.938 kB / 0.5636 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.113e-05/0.3154, allocations: 3 kB / 0.5636 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.3154, allocations: 0 / 0.5636 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3154, allocations: 0 / 0.5636 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3154, allocations: 0 / 0.5636 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.3155, allocations: 116.8 kB / 0.5637 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3155, allocations: 0 / 0.5637 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-06/0.3155, allocations: 3.984 kB / 0.5637 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.3155, allocations: 7.938 kB / 0.5637 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.3155, allocations: 0 / 0.5637 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3155, allocations: 3.938 kB / 0.5637 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3155, allocations: 4 kB / 0.5637 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.3156, allocations: 94.75 kB / 0.5638 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.3156, allocations: 4 kB / 0.5638 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.3157, allocations: 3.938 kB / 0.5638 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-06/0.3157, allocations: 0 / 0.5638 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.278e-05/0.3157, allocations: 4.031 kB / 0.5638 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.3157, allocations: 0 / 0.5638 GB, free: 1.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.833e-05/0.3157, allocations: 80.3 kB / 0.5639 GB, free: 1.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3157, allocations: 0 / 0.5639 GB, free: 1.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004096/0.3161, allocations: 123.9 kB / 0.564 GB, free: 1.496 MB / 398.1 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.000677/0.3168, allocations: 183.1 kB / 0.5642 GB, free: 1.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.847e-05/0.3169, allocations: 59.41 kB / 0.5642 GB, free: 1.246 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3169, allocations: 0 / 0.5642 GB, free: 1.246 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.092e-05/0.3169, allocations: 63.33 kB / 0.5643 GB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.3171, allocations: 2.344 kB / 0.5643 GB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001824/0.3172, allocations: 114.8 kB / 0.5644 GB, free: 1.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.3175, allocations: 0.669 MB / 0.565 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.063e-05/0.3175, allocations: 11.44 kB / 0.5651 GB, free: 328 kB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3175, allocations: 0 / 0.5651 GB, free: 328 kB / 398.1 MB Notification: Performance of Templates: time 0.004913/0.3224, allocations: 2.699 MB / 0.5677 GB, free: 13.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.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: 8.554829623084515]