Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00179/0.00179, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2198/0.2198, allocations: 46.89 MB / 361.3 MB, free: 4.426 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices")
translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 75.88 kB / 0.497 GB, free: 7.586 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3318, allocations: 66.03 MB / 0.5615 GB, free: 4.625 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001587/0.3334, allocations: 499.1 kB / 0.562 GB, free: 4.141 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002173/0.3356, allocations: 1.633 MB / 0.5636 GB, free: 2.488 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 1.488e-05/0.3356, allocations: 0 / 0.5636 GB, free: 2.488 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.3356, allocations: 0 / 0.5636 GB, free: 2.488 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 5.38e-06/0.3356, allocations: 0 / 0.5636 GB, free: 2.488 MB / 398.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.000954/0.3365, allocations: 290.2 kB / 0.5639 GB, free: 2.207 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 4.779e-05/0.3366, allocations: 8 kB / 0.5639 GB, free: 2.199 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.3366, allocations: 7.984 kB / 0.5639 GB, free: 2.191 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.518e-05/0.3366, allocations: 4 kB / 0.5639 GB, free: 2.188 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 1.878e-05/0.3367, allocations: 7.984 kB / 0.5639 GB, free: 2.18 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.33e-06/0.3367, allocations: 0 / 0.5639 GB, free: 2.18 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008385/0.3375, allocations: 0.6042 MB / 0.5645 GB, free: 1.574 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.572e-06/0.3375, allocations: 0 / 0.5645 GB, free: 1.574 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.3375, allocations: 4 kB / 0.5645 GB, free: 1.57 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.338, allocations: 333.7 kB / 0.5648 GB, free: 1.25 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.338, allocations: 0 / 0.5648 GB, free: 1.25 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.873e-06/0.338, allocations: 0 / 0.5648 GB, free: 1.25 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.061e-06/0.338, allocations: 0 / 0.5648 GB, free: 1.25 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.00043/0.3385, allocations: 295.7 kB / 0.5651 GB, free: 0.9258 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3385, allocations: 12.03 kB / 0.5651 GB, free: 0.9141 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.3385, allocations: 0.9375 kB / 0.5651 GB, free: 0.9141 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.706e-05/0.3386, allocations: 118.5 kB / 0.5652 GB, free: 0.7734 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3386, allocations: 384 / 0.5652 GB, free: 0.7734 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.3386, allocations: 384 / 0.5652 GB, free: 0.7734 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.061e-05/0.3387, allocations: 34.02 kB / 0.5652 GB, free: 0.7344 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3387, allocations: 0 / 0.5652 GB, free: 0.7344 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.3388, allocations: 0 / 0.5652 GB, free: 0.7344 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3388, allocations: 0 / 0.5652 GB, free: 0.7344 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.942e-05/0.3388, allocations: 4 kB / 0.5652 GB, free: 0.7305 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.3389, allocations: 112.8 kB / 0.5654 GB, free: 0.5781 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 4.616e-05/0.339, allocations: 30.5 kB / 0.5654 GB, free: 0.5391 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.37e-05/0.339, allocations: 8.953 kB / 0.5654 GB, free: 0.5273 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.339, allocations: 0 / 0.5654 GB, free: 0.5273 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.339, allocations: 60.2 kB / 0.5654 GB, free: 464 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.339, allocations: 0 / 0.5654 GB, free: 464 kB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0001638/0.3392, allocations: 63.39 kB / 0.5655 GB, free: 388 kB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.3392, allocations: 85.17 kB / 0.5656 GB, free: 284 kB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.03e-05/0.3393, allocations: 105.7 kB / 0.5657 GB, free: 168 kB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.3393, allocations: 29.7 kB / 0.5657 GB, free: 132 kB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/0.3393, allocations: 80.14 kB / 0.5658 GB, free: 48 kB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.3394, allocations: 0 / 0.5658 GB, free: 48 kB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.3394, allocations: 9.719 kB / 0.5658 GB, free: 32 kB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001557/0.3395, allocations: 314.8 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.3396, allocations: 0 / 0.5661 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-06/0.3396, allocations: 4 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.846e-05/0.3396, allocations: 72.25 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3396, allocations: 0 / 0.5662 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 6.669e-05/0.3397, allocations: 59.41 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.3397, allocations: 35.83 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.3397, allocations: 0 / 0.5663 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3397, allocations: 0 / 0.5663 GB, free: 15.52 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.3397, allocations: 3.938 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.3397, allocations: 0 / 0.5663 GB, free: 15.51 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.3398, allocations: 8.094 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.3398, allocations: 0 / 0.5663 GB, free: 15.5 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 8.573e-05/0.3399, allocations: 135.5 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.3399, allocations: 7.938 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-06/0.3399, allocations: 3 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.3399, allocations: 0 / 0.5664 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3399, allocations: 0 / 0.5664 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.3399, allocations: 0 / 0.5664 GB, free: 15.34 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.278e-05/0.34, allocations: 124.8 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.34, allocations: 0 / 0.5665 GB, free: 15.18 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.34, allocations: 4 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.34, allocations: 3.938 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.34, allocations: 0 / 0.5665 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.34, allocations: 0 / 0.5665 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.34, allocations: 0 / 0.5665 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 9.226e-05/0.3401, allocations: 90.83 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.216e-06/0.3401, allocations: 3.938 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.3401, allocations: 7.969 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-06/0.3401, allocations: 4 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-06/0.3401, allocations: 0 / 0.5666 GB, free: 15.04 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.3401, allocations: 3.938 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 3.24e-05/0.3401, allocations: 75.28 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3401, allocations: 0 / 0.5667 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002912/0.3404, allocations: 67.8 kB / 0.5668 GB, free: 14.9 MB / 414.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.0004204/0.3409, allocations: 195.7 kB / 0.567 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 8.909e-05/0.3409, allocations: 59.39 kB / 0.567 GB, free: 14.63 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3409, allocations: 4.062 kB / 0.567 GB, free: 14.63 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.405e-05/0.341, allocations: 55.41 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.3411, allocations: 0 / 0.5671 GB, free: 14.56 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001742/0.3413, allocations: 88.94 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3415, allocations: 0.669 MB / 0.5678 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 6.282e-06/0.3416, allocations: 3.984 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.3416, allocations: 11.44 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.3416, allocations: 0 / 0.5678 GB, free: 13.74 MB / 414.1 MB
Notification: Performance of Templates: time 0.004238/0.3458, allocations: 1.291 MB / 0.5691 GB, free: 12.45 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.8121013371273875]