Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002005/0.002005, allocations: 96.97 kB / 20.21 MB, free: 4.207 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.002125/0.002125, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.206/0.206, allocations: 32.37 MB / 270 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.925e-05, allocations: 6.25 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001686/0.001716, allocations: 0.5054 MB / 347.4 MB, free: 9.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003138/0.004854, allocations: 1.961 MB / 349.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.881e-06/0.00486, allocations: 0 / 349.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.34e-06/0.004865, allocations: 0 / 349.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.182e-06/0.004866, allocations: 0 / 349.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.007069, allocations: 0.5709 MB / 350 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 1.48e-05/0.007084, allocations: 0 / 350 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.425e-05/0.007108, allocations: 0 / 350 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.257e-05/0.00712, allocations: 0 / 350 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.235e-06/0.007129, allocations: 0 / 350 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.007137, allocations: 0 / 350 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.008678, allocations: 0.8379 MB / 350.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-06/0.008685, allocations: 7.938 kB / 350.8 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.818e-05/0.008703, allocations: 0 / 350.8 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.009834, allocations: 0.8027 MB / 351.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.009838, allocations: 0 / 351.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.009839, allocations: 0 / 351.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.009844, allocations: 0 / 351.6 MB, free: 5.109 MB / 282.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.0003355/0.01018, allocations: 411.6 kB / 352 MB, free: 4.672 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.01022, allocations: 8.031 kB / 352 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.01027, allocations: 120.1 kB / 352.1 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.86e-05/0.01033, allocations: 235.8 kB / 352.4 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.01036, allocations: 238.8 kB / 352.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.01039, allocations: 242.7 kB / 352.8 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.995e-05/0.01044, allocations: 145.5 kB / 353 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.01046, allocations: 123.4 kB / 353.1 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.01049, allocations: 238.8 kB / 353.3 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.01052, allocations: 242.3 kB / 353.6 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.887e-05/0.01056, allocations: 242.4 kB / 353.8 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.01081, allocations: 0.5681 MB / 354.4 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.076e-05/0.01089, allocations: 265.4 kB / 354.6 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.01091, allocations: 130.9 kB / 354.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.01094, allocations: 123.2 kB / 354.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.01097, allocations: 160.6 kB / 355 MB, free: 1.539 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.01097, allocations: 0 / 355 MB, free: 1.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 9.459e-05/0.01107, allocations: 29.64 kB / 355.1 MB, free: 1.504 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.01112, allocations: 204.2 kB / 355.3 MB, free: 1.285 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.555e-05/0.01115, allocations: 142.2 kB / 355.4 MB, free: 1.133 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.01116, allocations: 25.7 kB / 355.4 MB, free: 1.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.01118, allocations: 126.9 kB / 355.6 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.01119, allocations: 4 kB / 355.6 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.01122, allocations: 23.36 kB / 355.6 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.442e-05/0.01129, allocations: 496.1 kB / 356.1 MB, free: 452 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-06/0.0113, allocations: 0 / 356.1 MB, free: 452 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.672e-05/0.01133, allocations: 25.7 kB / 356.1 MB, free: 420 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.147e-05/0.01135, allocations: 119.2 kB / 356.2 MB, free: 300 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.829e-05/0.01137, allocations: 119.2 kB / 356.3 MB, free: 180 kB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.27e-05/0.01144, allocations: 33.7 kB / 356.4 MB, free: 140 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.01147, allocations: 127.1 kB / 356.5 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/0.01159, allocations: 123.2 kB / 356.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/0.01178, allocations: 238.4 kB / 356.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.01188, allocations: 131 kB / 357 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001988/0.01208, allocations: 254.3 kB / 357.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.01225, allocations: 123.1 kB / 357.3 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/0.01234, allocations: 119.2 kB / 357.4 MB, free: 15.04 MB / 298.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 0.000336/0.01268, allocations: 399 kB / 357.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.01283, allocations: 144.9 kB / 358 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.01296, allocations: 155.8 kB / 358.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001981/0.01316, allocations: 268.1 kB / 358.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000193/0.01335, allocations: 268 kB / 358.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001992/0.01355, allocations: 272.1 kB / 358.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/0.01405, allocations: 495.9 kB / 359.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001227/0.01417, allocations: 156.8 kB / 359.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.01429, allocations: 148.9 kB / 359.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.01449, allocations: 268 kB / 360 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/0.0147, allocations: 264.1 kB / 360.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002111/0.01491, allocations: 272.1 kB / 360.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000209/0.01512, allocations: 272 kB / 360.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.01552, allocations: 444.3 kB / 361.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.01565, allocations: 148.9 kB / 361.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/0.01588, allocations: 280 kB / 361.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.01606, allocations: 144.9 kB / 361.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.01629, allocations: 268.1 kB / 362 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.0164, allocations: 152.8 kB / 362.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.826e-05/0.0165, allocations: 123.1 kB / 362.3 MB, free: 10 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.0165, allocations: 0 / 362.3 MB, free: 10 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009942/0.01749, allocations: 151.6 kB / 362.4 MB, free: 9.855 MB / 298.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.001291/0.01879, allocations: 394.9 kB / 362.8 MB, free: 9.473 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.797e-05/0.01885, allocations: 4 kB / 362.8 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.01886, allocations: 0 / 362.8 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.01886, allocations: 0 / 362.8 MB, free: 9.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.01971, allocations: 0.7093 MB / 363.5 MB, free: 8.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.02001, allocations: 201.7 kB / 363.7 MB, free: 8.531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.828e-05/0.02009, allocations: 51.36 kB / 363.8 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.391e-05/0.0201, allocations: 4 kB / 363.8 MB, free: 8.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.02013, allocations: 12.5 kB / 363.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of SimCode: time 6.22e-07/0.02013, allocations: 0 / 363.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of Templates: time 0.01299/0.03313, allocations: 3.458 MB / 367.2 MB, free: 4.988 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 4.941025221021846]