Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 81.97 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 166.5 kB / 25.61 MB, free: 8.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 177.1 MB / 206 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1505/0.1505, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.17e-05, allocations: 4.703 kB / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0008195/0.0008312, allocations: 0.4892 MB / 379.8 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.002509, allocations: 1.993 MB / 381.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-06/0.002513, allocations: 0 / 381.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.701e-06/0.002518, allocations: 0 / 381.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 1.383e-06/0.00252, allocations: 3.938 kB / 381.8 MB, free: 20.93 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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.001101/0.003621, allocations: 0.5607 MB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 1.652e-05/0.003637, allocations: 0 / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.237e-05/0.00366, allocations: 4 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.059e-05/0.00367, allocations: 3.938 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-06/0.003676, allocations: 0 / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.713e-06/0.003683, allocations: 4 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008035/0.004486, allocations: 0.8574 MB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.624e-06/0.004494, allocations: 0 / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.333e-05/0.004507, allocations: 4 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006361/0.005143, allocations: 0.8261 MB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.005145, allocations: 0 / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005145, allocations: 0 / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.005149, allocations: 0 / 384 MB, free: 18.66 MB / 314.7 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.0002215/0.00537, allocations: 407.6 kB / 384.4 MB, free: 18.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.005402, allocations: 12.03 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.00543, allocations: 120.1 kB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.083e-05/0.005471, allocations: 231.8 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.005496, allocations: 238.8 kB / 385 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.005515, allocations: 238.8 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.637e-05/0.005551, allocations: 149.4 kB / 385.4 MB, free: 17.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.005563, allocations: 123.4 kB / 385.5 MB, free: 17.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.005587, allocations: 242.8 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.005607, allocations: 242.3 kB / 386 MB, free: 16.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.005627, allocations: 238.4 kB / 386.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001206/0.005748, allocations: 0.5608 MB / 386.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.136e-05/0.005789, allocations: 269.4 kB / 387 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.005806, allocations: 130.9 kB / 387.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.005817, allocations: 123.2 kB / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.005838, allocations: 152.6 kB / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 6.92e-07/0.005839, allocations: 0 / 387.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 4.012e-05/0.005879, allocations: 25.7 kB / 387.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.005912, allocations: 200.3 kB / 387.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.529e-05/0.005927, allocations: 142.2 kB / 387.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-06/0.005931, allocations: 25.7 kB / 387.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.315e-05/0.005944, allocations: 126.9 kB / 387.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.71e-07/0.005945, allocations: 4 kB / 387.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.005961, allocations: 19.38 kB / 388 MB, free: 14.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.006004, allocations: 0.4922 MB / 388.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-06/0.006006, allocations: 0 / 388.4 MB, free: 14.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.006022, allocations: 29.64 kB / 388.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.112e-05/0.006033, allocations: 119.2 kB / 388.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.006043, allocations: 119.2 kB / 388.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.089e-05/0.006074, allocations: 29.7 kB / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.006094, allocations: 127.2 kB / 388.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.006108, allocations: 127.1 kB / 389 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.006136, allocations: 242.4 kB / 389.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.011e-05/0.006146, allocations: 119.2 kB / 389.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/0.006167, allocations: 250.3 kB / 389.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.693e-05/0.006204, allocations: 127.2 kB / 389.7 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.006218, allocations: 123.1 kB / 389.8 MB, free: 12.62 MB / 314.7 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 5.306e-05/0.006271, allocations: 398.9 kB / 390.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.006294, allocations: 144.9 kB / 390.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.006313, allocations: 151.9 kB / 390.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.006334, allocations: 276 kB / 390.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/0.006353, allocations: 264.1 kB / 391 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/0.006375, allocations: 272 kB / 391.3 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.632e-05/0.006462, allocations: 480.5 kB / 391.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.006474, allocations: 144.9 kB / 391.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.38e-05/0.006488, allocations: 152.8 kB / 392.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.462e-05/0.006513, allocations: 276.1 kB / 392.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.006537, allocations: 268 kB / 392.6 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-05/0.006559, allocations: 268.1 kB / 392.9 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.197e-05/0.006581, allocations: 268 kB / 393.1 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.974e-05/0.006641, allocations: 448.3 kB / 393.6 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.006656, allocations: 148.8 kB / 393.7 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.006686, allocations: 272.1 kB / 394 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.206e-05/0.006718, allocations: 152.8 kB / 394.1 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.006741, allocations: 272.1 kB / 394.4 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.006754, allocations: 144.9 kB / 394.5 MB, free: 7.734 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.792e-05/0.006772, allocations: 119.2 kB / 394.6 MB, free: 7.617 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006772, allocations: 0 / 394.6 MB, free: 7.617 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003814/0.007154, allocations: 151.6 kB / 394.8 MB, free: 7.469 MB / 314.7 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.000455/0.007609, allocations: 414.6 kB / 395.2 MB, free: 7.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.316e-05/0.007642, allocations: 8 kB / 395.2 MB, free: 7.059 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007643, allocations: 0 / 395.2 MB, free: 7.059 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.007644, allocations: 0 / 395.2 MB, free: 7.059 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.007805, allocations: 0.708 MB / 395.9 MB, free: 6.348 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 7.516e-05/0.00788, allocations: 200 kB / 396.1 MB, free: 6.125 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.819e-05/0.007898, allocations: 59.22 kB / 396.2 MB, free: 6.047 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.221e-06/0.007904, allocations: 0 / 396.2 MB, free: 6.047 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.007924, allocations: 74.19 kB / 396.2 MB, free: 5.973 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.007924, allocations: 0 / 396.2 MB, free: 5.973 MB / 314.7 MB Notification: Performance of Templates: time 0.004305/0.01223, allocations: 4.078 MB / 400.3 MB, free: 1.898 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1890728850848973]