Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.001515/0.001515, 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.001673/0.001673, 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.66/1.66, allocations: 230.3 MB / 258 MB, free: 8.203 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2416/0.2416, allocations: 46.94 MB / 361.4 MB, free: 4.375 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-beta.om/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.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations")
translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 88.14 kB / 0.4971 GB, free: 7.5 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3603, allocations: 66.04 MB / 0.5616 GB, free: 4.523 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001627/0.362, allocations: 0.4892 MB / 0.5621 GB, free: 4.035 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003287/0.3653, allocations: 2.078 MB / 0.5641 GB, free: 1.938 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-06/0.3653, allocations: 0 / 0.5641 GB, free: 1.938 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 3.426e-06/0.3653, allocations: 0 / 0.5641 GB, free: 1.938 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 1.072e-06/0.3653, allocations: 4 kB / 0.5641 GB, free: 1.934 MB / 398.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Math/package.mo:697:5-760:29:writable] Warning: Pure function 'Modelica.Math.Matrices.Examples.solveLinearEquations' contains a call to impure function 'Modelica.Utilities.Streams.print'.
Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.3669, allocations: 0.5527 MB / 0.5647 GB, free: 1.383 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 1.741e-05/0.367, allocations: 0 / 0.5647 GB, free: 1.383 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 2.612e-05/0.367, allocations: 0 / 0.5647 GB, free: 1.383 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 5.72e-06/0.367, allocations: 0 / 0.5647 GB, free: 1.383 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.648e-06/0.367, allocations: 15.88 kB / 0.5647 GB, free: 1.367 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.827e-06/0.367, allocations: 0 / 0.5647 GB, free: 1.367 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.3687, allocations: 1.13 MB / 0.5658 GB, free: 240 kB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.3687, allocations: 3.984 kB / 0.5658 GB, free: 236 kB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 1.285e-05/0.3687, allocations: 0 / 0.5658 GB, free: 236 kB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001093/0.3698, allocations: 0.8326 MB / 0.5666 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3698, allocations: 0 / 0.5666 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.483e-06/0.3698, allocations: 0 / 0.5666 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 4.799e-06/0.3698, allocations: 0 / 0.5666 GB, free: 15.4 MB / 414.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 0
 * Number of variables: 0
Notification: Performance of Generate backend data structure: time 0.0004113/0.3702, allocations: 309.7 kB / 0.5669 GB, free: 15.07 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3703, allocations: 8.031 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.3703, allocations: 80.22 kB / 0.567 GB, free: 14.98 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.3704, allocations: 185.8 kB / 0.5672 GB, free: 14.78 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.608e-05/0.3705, allocations: 154.9 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.3706, allocations: 150.9 kB / 0.5675 GB, free: 14.48 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.908e-05/0.3707, allocations: 109.3 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/0.3707, allocations: 75.28 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.428e-05/0.3708, allocations: 154.6 kB / 0.5678 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.794e-05/0.3709, allocations: 150.6 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.21e-05/0.371, allocations: 150.6 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.3713, allocations: 421 kB / 0.5685 GB, free: 13.39 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 9.03e-05/0.3714, allocations: 165.1 kB / 0.5686 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.3714, allocations: 88.08 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.3714, allocations: 75.33 kB / 0.5688 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.572e-05/0.3715, allocations: 125.8 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.3715, allocations: 0 / 0.5689 GB, free: 12.92 MB / 414.1 MB
Notification: Performance of matching and sorting (n=0): time 8.178e-05/0.3716, allocations: 33.64 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.3717, allocations: 152.4 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.055e-05/0.3717, allocations: 89.86 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.3717, allocations: 29.7 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.3718, allocations: 80.14 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.3718, allocations: 0 / 0.5693 GB, free: 12.5 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.3718, allocations: 9.719 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001433/0.3719, allocations: 314.8 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-06/0.3719, allocations: 0 / 0.5696 GB, free: 12.16 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.576e-05/0.372, allocations: 4 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 3.332e-05/0.372, allocations: 75.28 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.726e-05/0.372, allocations: 75.28 kB / 0.5697 GB, free: 12.01 MB / 414.1 MB
Notification: Performance of matching and sorting (n=0) (initialization): time 5.768e-05/0.3721, allocations: 33.62 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.3721, allocations: 87.22 kB / 0.5699 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-05/0.3722, allocations: 83.39 kB / 0.5699 GB, free: 11.8 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 8.038e-05/0.3723, allocations: 154.6 kB / 0.5701 GB, free: 11.65 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.332e-05/0.3723, allocations: 83.16 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.66e-05/0.3724, allocations: 154.6 kB / 0.5703 GB, free: 11.42 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.16e-05/0.3724, allocations: 79.22 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.3725, allocations: 75.28 kB / 0.5705 GB, free: 11.27 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0001457/0.3726, allocations: 268.4 kB / 0.5707 GB, free: 10.99 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.801e-05/0.3727, allocations: 108.9 kB / 0.5708 GB, free: 10.88 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.3728, allocations: 111.7 kB / 0.5709 GB, free: 10.76 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.437e-05/0.3728, allocations: 176.3 kB / 0.5711 GB, free: 10.58 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.448e-05/0.3729, allocations: 184.2 kB / 0.5713 GB, free: 10.39 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.535e-05/0.373, allocations: 184.2 kB / 0.5714 GB, free: 10.21 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.3733, allocations: 368.3 kB / 0.5718 GB, free: 9.797 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001383/0.3734, allocations: 112.9 kB / 0.5719 GB, free: 9.68 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.3734, allocations: 105 kB / 0.572 GB, free: 9.57 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.551e-05/0.3735, allocations: 188.1 kB / 0.5722 GB, free: 9.379 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/0.3737, allocations: 176.3 kB / 0.5723 GB, free: 9.199 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.714e-05/0.3738, allocations: 188.2 kB / 0.5725 GB, free: 9.008 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-05/0.3738, allocations: 184.2 kB / 0.5727 GB, free: 8.82 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.3741, allocations: 303.8 kB / 0.573 GB, free: 8.5 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.3741, allocations: 101 kB / 0.5731 GB, free: 8.395 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.3743, allocations: 192.1 kB / 0.5733 GB, free: 8.199 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.3744, allocations: 105 kB / 0.5734 GB, free: 8.09 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.3745, allocations: 180.2 kB / 0.5735 GB, free: 7.906 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.3747, allocations: 104.9 kB / 0.5736 GB, free: 7.797 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 3.478e-05/0.3747, allocations: 75.28 kB / 0.5737 GB, free: 7.723 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3747, allocations: 0 / 0.5737 GB, free: 7.723 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0007476/0.3755, allocations: 151.6 kB / 0.5739 GB, free: 7.574 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.0008448/0.3763, allocations: 340.7 kB / 0.5742 GB, free: 7.234 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 5.25e-05/0.3764, allocations: 8 kB / 0.5742 GB, free: 7.227 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3764, allocations: 0 / 0.5742 GB, free: 7.227 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.3764, allocations: 0 / 0.5742 GB, free: 7.227 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.3768, allocations: 459.2 kB / 0.5746 GB, free: 6.777 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001667/0.3769, allocations: 152.3 kB / 0.5748 GB, free: 6.602 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.3773, allocations: 0.6729 MB / 0.5754 GB, free: 5.902 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 7.625e-06/0.3773, allocations: 4 kB / 0.5754 GB, free: 5.898 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.3773, allocations: 7.438 kB / 0.5754 GB, free: 5.891 MB / 414.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.3773, allocations: 0 / 0.5754 GB, free: 5.891 MB / 414.1 MB
Notification: Performance of Templates: time 0.007383/0.3847, allocations: 3.457 MB / 0.5788 GB, free: 2.434 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.458076633512974]