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.001541/0.001541, allocations: 106 kB / 21.22 MB, free: 0.6758 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.001764/0.001764, allocations: 189.3 kB / 24.51 MB, free: 4.051 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.471/1.471, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.2373/0.2373, allocations: 44.9 MB / 353.5 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.002081/0.002081, allocations: 75.88 kB / 497.7 MB, free: 1.051 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4133, allocations: 64.29 MB / 0.5488 GB, free: 13.17 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001836/0.4152, allocations: 0.5003 MB / 0.5493 GB, free: 12.79 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002306/0.4175, allocations: 1.577 MB / 0.5508 GB, free: 11.54 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 1.689e-05/0.4175, allocations: 0 / 0.5508 GB, free: 11.54 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.187e-05/0.4175, allocations: 0 / 0.5508 GB, free: 11.54 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.4175, allocations: 3.938 kB / 0.5508 GB, free: 11.54 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.001026/0.4185, allocations: 294.9 kB / 0.5511 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 5.066e-05/0.4186, allocations: 2.094 kB / 0.5511 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.4186, allocations: 1.094 kB / 0.5511 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.925e-05/0.4186, allocations: 5.047 kB / 0.5511 GB, free: 11.38 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 2.073e-05/0.4187, allocations: 4 kB / 0.5511 GB, free: 11.37 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.971e-06/0.4187, allocations: 5.031 kB / 0.5511 GB, free: 11.37 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008662/0.4195, allocations: 0.5915 MB / 0.5517 GB, free: 11.06 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.927e-06/0.4195, allocations: 5.25 kB / 0.5517 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.4196, allocations: 3.984 kB / 0.5517 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005372/0.4201, allocations: 323.7 kB / 0.552 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.4201, allocations: 0 / 0.552 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.543e-06/0.4201, allocations: 1.281 kB / 0.552 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.39e-06/0.4201, allocations: 0 / 0.552 GB, free: 10.88 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.0004254/0.4205, allocations: 303.6 kB / 0.5523 GB, free: 10.56 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4206, allocations: 9.953 kB / 0.5523 GB, free: 10.56 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.4206, allocations: 0.9375 kB / 0.5523 GB, free: 10.56 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.4207, allocations: 107.6 kB / 0.5524 GB, free: 10.43 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.4208, allocations: 1.406 kB / 0.5524 GB, free: 10.43 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.4208, allocations: 1.469 kB / 0.5524 GB, free: 10.43 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.911e-05/0.4209, allocations: 36.41 kB / 0.5525 GB, free: 10.39 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.4209, allocations: 0 / 0.5525 GB, free: 10.39 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.4209, allocations: 1.156 kB / 0.5525 GB, free: 10.39 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.4209, allocations: 0 / 0.5525 GB, free: 10.39 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.4209, allocations: 5.031 kB / 0.5525 GB, free: 10.39 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.421, allocations: 122.2 kB / 0.5526 GB, free: 10.23 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 4.332e-05/0.4211, allocations: 20.86 kB / 0.5526 GB, free: 10.2 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/0.4211, allocations: 5.797 kB / 0.5526 GB, free: 10.19 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.703e-06/0.4211, allocations: 0.9688 kB / 0.5526 GB, free: 10.19 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.55e-05/0.4211, allocations: 65.31 kB / 0.5527 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.4211, allocations: 0 / 0.5527 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.000186/0.4213, allocations: 66.81 kB / 0.5527 GB, free: 10.04 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.4214, allocations: 82.36 kB / 0.5528 GB, free: 9.945 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.908e-05/0.4214, allocations: 89.86 kB / 0.5529 GB, free: 9.848 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.4215, allocations: 26.8 kB / 0.5529 GB, free: 9.816 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.4215, allocations: 80.14 kB / 0.553 GB, free: 9.734 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.4215, allocations: 5.172 kB / 0.553 GB, free: 9.73 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.4216, allocations: 10.84 kB / 0.553 GB, free: 9.715 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001311/0.4217, allocations: 316 kB / 0.5533 GB, free: 9.398 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-06/0.4217, allocations: 1.188 kB / 0.5533 GB, free: 9.398 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-06/0.4217, allocations: 5.219 kB / 0.5533 GB, free: 9.395 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.528e-05/0.4218, allocations: 59.55 kB / 0.5534 GB, free: 9.324 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4218, allocations: 0 / 0.5534 GB, free: 9.324 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 7.362e-05/0.4218, allocations: 66.7 kB / 0.5535 GB, free: 9.254 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.4219, allocations: 42.27 kB / 0.5535 GB, free: 9.211 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.4219, allocations: 1.156 kB / 0.5535 GB, free: 9.211 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4219, allocations: 0 / 0.5535 GB, free: 9.211 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-06/0.4219, allocations: 1.156 kB / 0.5535 GB, free: 9.211 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4219, allocations: 3.938 kB / 0.5535 GB, free: 9.207 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.4219, allocations: 5.219 kB / 0.5535 GB, free: 9.203 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.4219, allocations: 0 / 0.5535 GB, free: 9.203 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.157e-05/0.422, allocations: 137.7 kB / 0.5536 GB, free: 9.055 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.422, allocations: 16.98 kB / 0.5537 GB, free: 9.039 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.23e-05/0.4221, allocations: 3 kB / 0.5537 GB, free: 9.031 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.4221, allocations: 1.094 kB / 0.5537 GB, free: 9.031 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.4221, allocations: 0 / 0.5537 GB, free: 9.031 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4221, allocations: 5.125 kB / 0.5537 GB, free: 9.027 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.297e-05/0.4222, allocations: 114.4 kB / 0.5538 GB, free: 8.875 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.4222, allocations: 4 kB / 0.5538 GB, free: 8.871 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.4222, allocations: 1.156 kB / 0.5538 GB, free: 8.871 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4222, allocations: 3.938 kB / 0.5538 GB, free: 8.867 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.4222, allocations: 5.297 kB / 0.5538 GB, free: 8.863 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4222, allocations: 0 / 0.5538 GB, free: 8.863 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4222, allocations: 0 / 0.5538 GB, free: 8.863 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.4223, allocations: 94.73 kB / 0.5539 GB, free: 8.758 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.4223, allocations: 7.984 kB / 0.5539 GB, free: 8.75 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.4223, allocations: 9.656 kB / 0.5539 GB, free: 8.742 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-06/0.4223, allocations: 1.594 kB / 0.5539 GB, free: 8.742 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.4223, allocations: 0 / 0.5539 GB, free: 8.742 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.4223, allocations: 1.188 kB / 0.5539 GB, free: 8.742 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 3.476e-05/0.4224, allocations: 75.28 kB / 0.554 GB, free: 8.668 MB / 398.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.4224, allocations: 0 / 0.554 GB, free: 8.668 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0003294/0.4227, allocations: 63.61 kB / 0.554 GB, free: 8.652 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.0004539/0.4231, allocations: 188 kB / 0.5542 GB, free: 8.52 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001035/0.4232, allocations: 72.91 kB / 0.5543 GB, free: 8.441 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4232, allocations: 0 / 0.5543 GB, free: 8.441 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.824e-05/0.4233, allocations: 54.75 kB / 0.5543 GB, free: 8.379 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.4234, allocations: 9.141 kB / 0.5543 GB, free: 8.371 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001951/0.4236, allocations: 80.92 kB / 0.5544 GB, free: 8.273 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.4239, allocations: 0.6738 MB / 0.5551 GB, free: 7.574 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 5.36e-06/0.4239, allocations: 0 / 0.5551 GB, free: 7.574 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.148e-05/0.4239, allocations: 8.531 kB / 0.5551 GB, free: 7.566 MB / 398.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.4239, allocations: 0 / 0.5551 GB, free: 7.566 MB / 398.1 MB
Notification: Performance of Templates: time 0.004581/0.4285, allocations: 1.279 MB / 0.5563 GB, free: 6.914 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.143913318403065]