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.001762/0.001762, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00218/0.00218, allocations: 210 kB / 24.48 MB, free: 3.938 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.514/1.514, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2255/0.2255, allocations: 44.93 MB / 359.6 MB, free: 6.07 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.002105/0.002105, allocations: 75.86 kB / 0.4942 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3273, allocations: 65.46 MB / 0.5582 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.002121/0.3294, allocations: 0.491 MB / 0.5586 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.332, allocations: 1.517 MB / 0.5601 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.332, allocations: 4 kB / 0.5601 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.332, allocations: 0 / 0.5601 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.57e-06/0.332, allocations: 0 / 0.5601 GB, free: 5.352 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.001012/0.333, allocations: 251.4 kB / 0.5604 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.301e-05/0.3331, allocations: 7.922 kB / 0.5604 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.3331, allocations: 4 kB / 0.5604 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.356e-05/0.3331, allocations: 0 / 0.5604 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.745e-05/0.3332, allocations: 0 / 0.5604 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.861e-06/0.3332, allocations: 0 / 0.5604 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.3344, allocations: 0.6869 MB / 0.5611 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.3344, allocations: 3.984 kB / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.3344, allocations: 0 / 0.5611 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006957/0.3351, allocations: 0.6146 MB / 0.5617 GB, free: 3.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3352, allocations: 7.984 kB / 0.5617 GB, free: 3.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.113e-06/0.3352, allocations: 0 / 0.5617 GB, free: 3.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3352, allocations: 0 / 0.5617 GB, free: 3.785 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.0005082/0.3357, allocations: 295.8 kB / 0.5619 GB, free: 3.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3357, allocations: 8.031 kB / 0.562 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.017e-05/0.3358, allocations: 0.9375 kB / 0.562 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.747e-05/0.3359, allocations: 110.5 kB / 0.5621 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3359, allocations: 4.375 kB / 0.5621 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3359, allocations: 384 / 0.5621 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.336, allocations: 59.72 kB / 0.5621 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.336, allocations: 3.938 kB / 0.5621 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.336, allocations: 0 / 0.5621 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.336, allocations: 3.984 kB / 0.5621 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.3361, allocations: 25.7 kB / 0.5622 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.3362, allocations: 101.3 kB / 0.5623 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3363, allocations: 44.22 kB / 0.5623 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.433e-05/0.3363, allocations: 38.66 kB / 0.5623 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.3363, allocations: 3.984 kB / 0.5623 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/0.3364, allocations: 60.27 kB / 0.5624 GB, free: 2.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3364, allocations: 0 / 0.5624 GB, free: 2.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002883/0.3367, allocations: 118.7 kB / 0.5625 GB, free: 2.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.3367, allocations: 81.11 kB / 0.5626 GB, free: 2.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.3369, allocations: 97.75 kB / 0.5627 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.3369, allocations: 25.7 kB / 0.5627 GB, free: 2.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.3369, allocations: 80.14 kB / 0.5628 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.337, allocations: 7.984 kB / 0.5628 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.337, allocations: 17.84 kB / 0.5628 GB, free: 2.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3371, allocations: 310.8 kB / 0.5631 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/0.3371, allocations: 25.7 kB / 0.5631 GB, free: 2.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.3372, allocations: 29.7 kB / 0.5631 GB, free: 2.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.65e-05/0.3372, allocations: 64.27 kB / 0.5632 GB, free: 1.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3372, allocations: 0 / 0.5632 GB, free: 1.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.152e-05/0.3373, allocations: 85.09 kB / 0.5633 GB, free: 1.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.3374, allocations: 36.2 kB / 0.5633 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3374, allocations: 0 / 0.5633 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3374, allocations: 8.031 kB / 0.5633 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.3374, allocations: 3.938 kB / 0.5633 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3374, allocations: 0 / 0.5633 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.3374, allocations: 4 kB / 0.5633 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.3374, allocations: 7.938 kB / 0.5633 GB, free: 1.785 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 9.316e-05/0.3375, allocations: 135.5 kB / 0.5635 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.3375, allocations: 4 kB / 0.5635 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.3375, allocations: 10.94 kB / 0.5635 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3375, allocations: 0 / 0.5635 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3375, allocations: 0 / 0.5635 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3375, allocations: 4 kB / 0.5635 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.964e-05/0.3376, allocations: 93.33 kB / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3376, allocations: 0 / 0.5636 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-06/0.3376, allocations: 7.984 kB / 0.5636 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.3376, allocations: 0 / 0.5636 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.3376, allocations: 0 / 0.5636 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.3376, allocations: 3.938 kB / 0.5636 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3376, allocations: 3.938 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.3378, allocations: 116.5 kB / 0.5637 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-06/0.3378, allocations: 3.938 kB / 0.5637 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.3378, allocations: 4 kB / 0.5637 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.133e-05/0.3378, allocations: 7.969 kB / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.3378, allocations: 0 / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.3378, allocations: 0 / 0.5637 GB, free: 1.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.703e-05/0.3378, allocations: 76.3 kB / 0.5638 GB, free: 1.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3378, allocations: 0 / 0.5638 GB, free: 1.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000476/0.3383, allocations: 127.9 kB / 0.5639 GB, free: 1.121 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.0007574/0.3391, allocations: 168.6 kB / 0.5641 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.3392, allocations: 114.8 kB / 0.5642 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3392, allocations: 0 / 0.5642 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.307e-05/0.3393, allocations: 81.11 kB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.3394, allocations: 4 kB / 0.5643 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002242/0.3396, allocations: 140.5 kB / 0.5644 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.941e-05/0.3397, allocations: 55.34 kB / 0.5645 GB, free: 476 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.3397, allocations: 15.38 kB / 0.5645 GB, free: 460 kB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3397, allocations: 0 / 0.5645 GB, free: 460 kB / 398.1 MB Notification: Performance of Templates: time 0.005613/0.3453, allocations: 2.703 MB / 0.5671 GB, free: 13.74 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: 9.010869268793613]