Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001268/0.001268, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.0015/0.0015, allocations: 212.6 kB / 24.49 MB, free: 3.934 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] 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.232/0.232, allocations: 46.96 MB / 361.6 MB, free: 4.031 MB / 286.1 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.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.91 kB / 0.4973 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3407, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001788/0.3425, allocations: 0.4923 MB / 0.5623 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.3451, allocations: 1.552 MB / 0.5638 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.774e-05/0.3451, allocations: 0 / 0.5638 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.3451, allocations: 3.938 kB / 0.5638 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.173e-06/0.3451, allocations: 0 / 0.5638 GB, free: 2.113 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.3462, allocations: 287.2 kB / 0.5641 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.719e-05/0.3462, allocations: 4 kB / 0.5641 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.3462, allocations: 8 kB / 0.5641 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.367e-05/0.3463, allocations: 0 / 0.5641 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.924e-05/0.3463, allocations: 0 / 0.5641 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.6e-06/0.3463, allocations: 3.938 kB / 0.5641 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006873/0.347, allocations: 439 kB / 0.5645 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.347, allocations: 4 kB / 0.5645 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.74e-05/0.347, allocations: 0 / 0.5645 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.3474, allocations: 305.6 kB / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3474, allocations: 0 / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3474, allocations: 0 / 0.5648 GB, free: 1.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3474, allocations: 0 / 0.5648 GB, free: 1.09 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.000372/0.3478, allocations: 299.7 kB / 0.5651 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3479, allocations: 8.031 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.3479, allocations: 0.9375 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.793e-05/0.348, allocations: 110.5 kB / 0.5652 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.348, allocations: 8.375 kB / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.348, allocations: 384 / 0.5652 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.3481, allocations: 59.72 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3482, allocations: 0 / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3482, allocations: 0 / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3482, allocations: 3.984 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.507e-05/0.3482, allocations: 25.7 kB / 0.5653 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.3483, allocations: 97.33 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.911e-05/0.3484, allocations: 48.22 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.3484, allocations: 34.66 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-06/0.3484, allocations: 4 kB / 0.5655 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.3485, allocations: 56.27 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3485, allocations: 0 / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002117/0.3487, allocations: 122.7 kB / 0.5656 GB, free: 60 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.3488, allocations: 81.11 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.3488, allocations: 93.81 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.3489, allocations: 25.7 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.3489, allocations: 80.14 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.3489, allocations: 0 / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.349, allocations: 17.7 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.3492, allocations: 318.9 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.3492, allocations: 33.64 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.3492, allocations: 29.7 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.68e-05/0.3493, allocations: 60.27 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3493, allocations: 0 / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001087/0.3494, allocations: 93.09 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.825e-05/0.3494, allocations: 29.7 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3494, allocations: 0 / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.3495, allocations: 3.938 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.3495, allocations: 4.094 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.3495, allocations: 3.938 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.3495, allocations: 4 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.3495, allocations: 3.938 kB / 0.5665 GB, free: 15.09 MB / 414.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.0001506/0.3496, allocations: 135.5 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.3496, allocations: 4 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.233e-05/0.3497, allocations: 3 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.3497, allocations: 7.922 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3497, allocations: 0 / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-06/0.3497, allocations: 0 / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.3497, allocations: 12 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.3497, allocations: 0 / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.3497, allocations: 0 / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001748/0.3499, allocations: 223.8 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002043/0.3501, allocations: 270.1 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.307e-05/0.3501, allocations: 29.7 kB / 0.5671 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.276e-05/0.3502, allocations: 79.28 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of Backend: time 4.01e-07/0.3502, allocations: 0 / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008218/0.351, allocations: 249.4 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of SimCode: time 0.000494/0.3515, allocations: 0.5795 MB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of Templates: time 0.00468/0.3562, allocations: 1.309 MB / 0.5693 GB, free: 12.05 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.1211906090029515]