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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 109.8 kB / 21.1 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 191.8 kB / 24.36 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 253 MB, free: 13.05 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.2385/0.2385, allocations: 44.91 MB / 353.2 MB, free: 11.86 MB / 286.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 71.89 kB / 497.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3832, allocations: 64.29 MB / 0.5484 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001813/0.385, allocations: 0.4917 MB / 0.5489 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.3877, allocations: 1.582 MB / 0.5504 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.3877, allocations: 4 kB / 0.5504 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.3877, allocations: 0 / 0.5504 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.044e-06/0.3877, allocations: 0 / 0.5504 GB, free: 11.48 MB / 398.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.00115/0.3889, allocations: 290.8 kB / 0.5507 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.889e-05/0.3889, allocations: 2.719 kB / 0.5507 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.958e-05/0.389, allocations: 0 / 0.5507 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.353e-05/0.389, allocations: 5.391 kB / 0.5507 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.138e-05/0.389, allocations: 4 kB / 0.5507 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.389, allocations: 1.562 kB / 0.5507 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008077/0.3898, allocations: 427.7 kB / 0.5511 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.297e-06/0.3898, allocations: 3.938 kB / 0.5511 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.3899, allocations: 1.688 kB / 0.5511 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005565/0.3904, allocations: 296.6 kB / 0.5514 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3904, allocations: 5.25 kB / 0.5514 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3904, allocations: 0 / 0.5514 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3904, allocations: 4 kB / 0.5514 GB, free: 10.93 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.0004873/0.3909, allocations: 298.5 kB / 0.5517 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.391, allocations: 10.86 kB / 0.5517 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.391, allocations: 10.02 kB / 0.5517 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.3911, allocations: 107.6 kB / 0.5518 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3911, allocations: 384 / 0.5518 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.3911, allocations: 1.5 kB / 0.5518 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.3913, allocations: 58.06 kB / 0.5519 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3913, allocations: 5.188 kB / 0.5519 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3913, allocations: 0 / 0.5519 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3913, allocations: 0 / 0.5519 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.653e-05/0.3913, allocations: 36.12 kB / 0.5519 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.3915, allocations: 121.9 kB / 0.5521 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.187e-05/0.3916, allocations: 47.34 kB / 0.5521 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.3916, allocations: 31.91 kB / 0.5521 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.3916, allocations: 4 kB / 0.5521 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.249e-05/0.3917, allocations: 65.61 kB / 0.5522 GB, free: 10.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.3917, allocations: 0 / 0.5522 GB, free: 10.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002634/0.392, allocations: 114.9 kB / 0.5523 GB, free: 9.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.3921, allocations: 78.17 kB / 0.5524 GB, free: 9.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/0.3921, allocations: 93.86 kB / 0.5525 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.3922, allocations: 30.8 kB / 0.5525 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.3922, allocations: 80.14 kB / 0.5526 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.3922, allocations: 1.25 kB / 0.5526 GB, free: 9.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.3923, allocations: 19.02 kB / 0.5526 GB, free: 9.566 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3924, allocations: 311.9 kB / 0.5529 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-05/0.3925, allocations: 26.83 kB / 0.5529 GB, free: 9.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.271e-05/0.3925, allocations: 26.8 kB / 0.5529 GB, free: 9.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.946e-05/0.3926, allocations: 67.73 kB / 0.553 GB, free: 9.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3926, allocations: 1.312 kB / 0.553 GB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001221/0.3927, allocations: 87.12 kB / 0.5531 GB, free: 9.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.3927, allocations: 39.48 kB / 0.5531 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3927, allocations: 1.156 kB / 0.5531 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3928, allocations: 0 / 0.5531 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.937e-06/0.3928, allocations: 3.938 kB / 0.5531 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3928, allocations: 1.062 kB / 0.5531 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.033e-05/0.3928, allocations: 1.125 kB / 0.5531 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3928, allocations: 3.938 kB / 0.5531 GB, free: 8.969 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.0001292/0.3929, allocations: 145.9 kB / 0.5533 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.3929, allocations: 9.578 kB / 0.5533 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.591e-05/0.393, allocations: 7 kB / 0.5533 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.393, allocations: 0 / 0.5533 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.393, allocations: 1.344 kB / 0.5533 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.393, allocations: 0 / 0.5533 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.3931, allocations: 114.4 kB / 0.5534 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.3931, allocations: 0 / 0.5534 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.006e-06/0.3931, allocations: 5.484 kB / 0.5534 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.3931, allocations: 3.938 kB / 0.5534 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.3931, allocations: 1.75 kB / 0.5534 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3931, allocations: 0 / 0.5534 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3931, allocations: 0 / 0.5534 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.3932, allocations: 123.5 kB / 0.5535 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-06/0.3932, allocations: 1.156 kB / 0.5535 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.3933, allocations: 9.062 kB / 0.5535 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-06/0.3933, allocations: 1.25 kB / 0.5535 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.3933, allocations: 0 / 0.5535 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3933, allocations: 5.188 kB / 0.5536 GB, free: 8.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.202e-05/0.3933, allocations: 79.31 kB / 0.5536 GB, free: 8.402 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3933, allocations: 0 / 0.5536 GB, free: 8.402 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003842/0.3937, allocations: 63.55 kB / 0.5537 GB, free: 8.387 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.000536/0.3943, allocations: 195.8 kB / 0.5539 GB, free: 8.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.3944, allocations: 117.1 kB / 0.554 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3944, allocations: 0 / 0.554 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.878e-05/0.3945, allocations: 81.2 kB / 0.5541 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.3946, allocations: 1.531 kB / 0.5541 GB, free: 8.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.3949, allocations: 113.3 kB / 0.5542 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.3953, allocations: 0.6815 MB / 0.5548 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.042e-06/0.3953, allocations: 1.031 kB / 0.5548 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.3953, allocations: 8.438 kB / 0.5549 GB, free: 7.164 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3953, allocations: 0 / 0.5549 GB, free: 7.164 MB / 398.1 MB Notification: Performance of Templates: time 0.00474/0.4001, allocations: 1.27 MB / 0.5561 GB, free: 6.52 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.16081856098026]