Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 113.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 185.9 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.284/0.284, allocations: 44.2 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3152, allocations: 60.81 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001415/0.3166, allocations: 0.5006 MB / 0.52 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3183, allocations: 1.556 MB / 0.5216 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/0.3183, allocations: 0 / 0.5216 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.014e-05/0.3184, allocations: 5.312 kB / 0.5216 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.71e-06/0.3184, allocations: 3.938 kB / 0.5216 GB, free: 2.168 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0007776/0.3192, allocations: 268.6 kB / 0.5218 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.07e-05/0.3192, allocations: 1.312 kB / 0.5218 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.3193, allocations: 2.062 kB / 0.5218 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.281e-05/0.3193, allocations: 1.438 kB / 0.5218 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.694e-05/0.3193, allocations: 3.984 kB / 0.5218 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-06/0.3193, allocations: 4 kB / 0.5218 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006678/0.32, allocations: 498.3 kB / 0.5223 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-06/0.32, allocations: 0 / 0.5223 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.489e-05/0.32, allocations: 1.156 kB / 0.5223 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.3204, allocations: 305.2 kB / 0.5226 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3204, allocations: 1.938 kB / 0.5226 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3205, allocations: 0 / 0.5226 GB, free: 1.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.3205, allocations: 0 / 0.5226 GB, free: 1.91 MB / 382.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.0002516/0.3207, allocations: 380.9 kB / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3208, allocations: 8.828 kB / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.3208, allocations: 2.062 kB / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.445e-05/0.3208, allocations: 162.1 kB / 0.5231 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3209, allocations: 1.438 kB / 0.5231 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.3209, allocations: 1.344 kB / 0.5231 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.584e-05/0.3209, allocations: 37.3 kB / 0.5232 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.321, allocations: 0 / 0.5232 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.321, allocations: 4 kB / 0.5232 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.321, allocations: 2.203 kB / 0.5232 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.812e-05/0.321, allocations: 5.25 kB / 0.5232 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.719e-05/0.3211, allocations: 152.1 kB / 0.5233 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.988e-05/0.3211, allocations: 16.67 kB / 0.5233 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.3212, allocations: 7.672 kB / 0.5234 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.3212, allocations: 0 / 0.5234 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.3212, allocations: 69.89 kB / 0.5234 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.3212, allocations: 0 / 0.5234 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.3213, allocations: 65.91 kB / 0.5235 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.3214, allocations: 78.17 kB / 0.5236 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.944e-05/0.3214, allocations: 90.56 kB / 0.5236 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.3214, allocations: 25.7 kB / 0.5237 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.787e-06/0.3214, allocations: 81.39 kB / 0.5237 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.3214, allocations: 0 / 0.5237 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.3215, allocations: 20.86 kB / 0.5238 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.3215, allocations: 312.8 kB / 0.5241 GB, free: 248 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-06/0.3215, allocations: 0.5156 kB / 0.5241 GB, free: 248 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.3215, allocations: 1.312 kB / 0.5241 GB, free: 248 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/0.3216, allocations: 61.16 kB / 0.5241 GB, free: 176 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3216, allocations: 4 kB / 0.5241 GB, free: 172 kB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.157e-05/0.3216, allocations: 68.27 kB / 0.5242 GB, free: 100 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3217, allocations: 31.81 kB / 0.5242 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3217, allocations: 9.594 kB / 0.5242 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3217, allocations: 0.6562 kB / 0.5242 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.3217, allocations: 3.938 kB / 0.5242 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3217, allocations: 0 / 0.5242 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.3217, allocations: 2 kB / 0.5242 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.3217, allocations: 0 / 0.5242 GB, free: 56 kB / 382.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 8.685e-05/0.3218, allocations: 136 kB / 0.5244 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.3218, allocations: 6.109 kB / 0.5244 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.147e-05/0.3219, allocations: 7.672 kB / 0.5244 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.3219, allocations: 4 kB / 0.5244 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3219, allocations: 0.75 kB / 0.5244 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.3219, allocations: 77.62 kB / 0.5245 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.3219, allocations: 2.812 kB / 0.5245 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-06/0.3219, allocations: 0 / 0.5245 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.322, allocations: 1.531 kB / 0.5245 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001156/0.3221, allocations: 196.6 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001279/0.3222, allocations: 243.5 kB / 0.5249 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.44e-05/0.3222, allocations: 2.031 kB / 0.5249 GB, free: 15.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.52e-05/0.3223, allocations: 76.69 kB / 0.525 GB, free: 15.27 MB / 398.1 MB Notification: Performance of Backend: time 2.91e-07/0.3223, allocations: 0 / 0.525 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006231/0.3229, allocations: 230.2 kB / 0.5252 GB, free: 15.1 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003025/0.3232, allocations: 0.5762 MB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of Templates: time 0.004016/0.3272, allocations: 1.294 MB / 0.527 GB, free: 14.2 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches