Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000905/0.000905, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001354/0.001354, allocations: 167.3 kB / 24.82 MB, free: 8.938 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 / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.2465/0.2465, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.19e-05, allocations: 6.25 kB / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001413/0.001435, allocations: 0.5046 MB / 377 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.003533, allocations: 2 MB / 379 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-06/0.003537, allocations: 0 / 379 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.868e-06/0.003547, allocations: 0 / 379 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.173e-06/0.003548, allocations: 0 / 379 MB, free: 1.902 MB / 346.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.001091/0.004639, allocations: 0.5646 MB / 379.5 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 1.258e-05/0.004652, allocations: 4 kB / 379.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 1.962e-05/0.004672, allocations: 0 / 379.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.216e-05/0.004684, allocations: 3.984 kB / 379.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.019e-05/0.004694, allocations: 0 / 379.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.672e-06/0.004701, allocations: 0 / 379.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008068/0.005507, allocations: 0.8575 MB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-06/0.005513, allocations: 0 / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.267e-06/0.005522, allocations: 0 / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006607/0.006183, allocations: 0.8222 MB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006185, allocations: 4 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006186, allocations: 0 / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.00619, allocations: 0 / 381.2 MB, free: 15.64 MB / 362.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.00027/0.00646, allocations: 411.6 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.006505, allocations: 12.03 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.006556, allocations: 124.1 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.694e-05/0.006633, allocations: 231.7 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-05/0.006692, allocations: 238.8 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.006743, allocations: 242.8 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.415e-05/0.006797, allocations: 145.5 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.006823, allocations: 119.4 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.006873, allocations: 242.8 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/0.006923, allocations: 242.3 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.247e-05/0.006975, allocations: 246.4 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.007162, allocations: 0.553 MB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.198e-05/0.007234, allocations: 265.4 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.007264, allocations: 126.9 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.007291, allocations: 123.2 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.007337, allocations: 156.6 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.007337, allocations: 0 / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 4.502e-05/0.007382, allocations: 29.64 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.00746, allocations: 200.3 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.086e-05/0.007501, allocations: 142.2 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.007511, allocations: 25.7 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.00754, allocations: 130.9 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.71e-07/0.00754, allocations: 0 / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.007559, allocations: 15.38 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.007658, allocations: 496.1 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-06/0.007661, allocations: 0 / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.007684, allocations: 33.7 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.007709, allocations: 119.2 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-05/0.007734, allocations: 123.2 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.281e-05/0.007766, allocations: 37.67 kB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.007798, allocations: 123.2 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.007822, allocations: 123.1 kB / 386.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.677e-05/0.007879, allocations: 242.4 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.345e-05/0.007903, allocations: 127.1 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-05/0.007951, allocations: 238.4 kB / 386.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.008002, allocations: 131.1 kB / 386.9 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.008029, allocations: 127.2 kB / 387 MB, free: 9.594 MB / 362.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 9.2e-05/0.008121, allocations: 391 kB / 387.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.008162, allocations: 156.8 kB / 387.6 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.008203, allocations: 151.9 kB / 387.7 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.477e-05/0.008258, allocations: 264.1 kB / 388 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-05/0.008311, allocations: 272 kB / 388.2 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.31e-05/0.008375, allocations: 268.1 kB / 388.5 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.00853, allocations: 484.4 kB / 389 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.083e-05/0.00856, allocations: 148.9 kB / 389.1 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.008592, allocations: 148.9 kB / 389.3 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-05/0.008649, allocations: 272 kB / 389.5 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.429e-05/0.008703, allocations: 268.1 kB / 389.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-05/0.008753, allocations: 268 kB / 390.1 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.002e-05/0.008803, allocations: 268.4 kB / 390.3 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.008914, allocations: 455.9 kB / 390.8 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.008949, allocations: 148.9 kB / 390.9 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/0.009018, allocations: 268 kB / 391.2 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.009072, allocations: 152.9 kB / 391.3 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.009133, allocations: 264.1 kB / 391.6 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.009167, allocations: 152.8 kB / 391.7 MB, free: 4.711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.488e-05/0.009202, allocations: 123.2 kB / 391.9 MB, free: 4.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.009202, allocations: 0 / 391.9 MB, free: 4.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003585/0.009561, allocations: 147.6 kB / 392 MB, free: 4.445 MB / 362.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.0005005/0.01006, allocations: 406.4 kB / 392.4 MB, free: 4.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.388e-05/0.0101, allocations: 4 kB / 392.4 MB, free: 4.047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01011, allocations: 0 / 392.4 MB, free: 4.047 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.01011, allocations: 11.94 kB / 392.4 MB, free: 4.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.01039, allocations: 0.7088 MB / 393.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001265/0.01052, allocations: 206.1 kB / 393.3 MB, free: 3.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.01055, allocations: 51.36 kB / 393.4 MB, free: 3.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.875e-06/0.01055, allocations: 0 / 393.4 MB, free: 3.023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.01059, allocations: 70.2 kB / 393.4 MB, free: 2.953 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.01059, allocations: 0 / 393.4 MB, free: 2.953 MB / 362.7 MB Notification: Performance of Templates: time 0.00494/0.01553, allocations: 4.089 MB / 397.5 MB, free: 14.86 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1912303557619452]