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.001121/0.001121, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001087/0.001087, allocations: 165.8 kB / 24.84 MB, free: 8.711 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.018/1.018, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] 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.1422/0.1422, allocations: 32.38 MB / 271.5 MB, free: 14.41 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.322e-06/1.322e-06, allocations: 0 / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.052e-05/2.184e-05, allocations: 2.312 kB / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001041/0.001063, allocations: 0.5197 MB / 349.4 MB, free: 8.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.003208, allocations: 1.969 MB / 351.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-06/0.003211, allocations: 0 / 351.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.941e-06/0.003217, allocations: 0 / 351.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.383e-06/0.003219, allocations: 0 / 351.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.004527, allocations: 0.5621 MB / 351.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.189e-05/0.004549, allocations: 4 kB / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.004581, allocations: 0 / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.004598, allocations: 0 / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.758e-06/0.004608, allocations: 4 kB / 351.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.004618, allocations: 0 / 351.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.005719, allocations: 0.8457 MB / 352.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.506e-06/0.005728, allocations: 0 / 352.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.371e-05/0.005742, allocations: 0 / 352.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.006845, allocations: 0.8027 MB / 353.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.00685, allocations: 0 / 353.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.006852, allocations: 0 / 353.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.00686, allocations: 0 / 353.6 MB, free: 4.457 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.0003997/0.00726, allocations: 411.7 kB / 354 MB, free: 4.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.007301, allocations: 8.031 kB / 354 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.007343, allocations: 124.1 kB / 354.1 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.842e-05/0.007411, allocations: 231.8 kB / 354.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.007444, allocations: 238.8 kB / 354.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.007471, allocations: 238.8 kB / 354.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.601e-05/0.007527, allocations: 149.5 kB / 355 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.00755, allocations: 119.4 kB / 355.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.007586, allocations: 242.7 kB / 355.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.007618, allocations: 242.3 kB / 355.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.549e-05/0.007654, allocations: 250.3 kB / 355.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.007829, allocations: 0.5491 MB / 356.3 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.368e-05/0.007893, allocations: 265.4 kB / 356.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.007917, allocations: 130.8 kB / 356.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.007941, allocations: 119.2 kB / 356.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.007973, allocations: 152.6 kB / 357 MB, free: 0.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.007974, allocations: 0 / 357 MB, free: 0.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.332e-05/0.008028, allocations: 37.64 kB / 357 MB, free: 0.875 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.008068, allocations: 200.3 kB / 357.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.771e-05/0.008086, allocations: 146.2 kB / 357.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.137e-06/0.00809, allocations: 25.7 kB / 357.4 MB, free: 484 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.461e-05/0.008105, allocations: 134.9 kB / 357.5 MB, free: 344 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.51e-07/0.008105, allocations: 0 / 357.5 MB, free: 344 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.008122, allocations: 19.38 kB / 357.6 MB, free: 316 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.008229, allocations: 496.1 kB / 358 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-06/0.008232, allocations: 0 / 358 MB, free: 15.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.008257, allocations: 25.7 kB / 358.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.134e-05/0.008289, allocations: 123.2 kB / 358.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.384e-05/0.008323, allocations: 119.2 kB / 358.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.43e-05/0.008367, allocations: 29.64 kB / 358.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.008411, allocations: 127.2 kB / 358.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.558e-05/0.008447, allocations: 119.2 kB / 358.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.616e-05/0.008523, allocations: 250.3 kB / 358.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.675e-05/0.00856, allocations: 123.2 kB / 358.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.729e-05/0.008627, allocations: 238.4 kB / 359.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.442e-05/0.008692, allocations: 131.1 kB / 359.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.008723, allocations: 119.2 kB / 359.4 MB, free: 14.42 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.0001318/0.008854, allocations: 395 kB / 359.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.008914, allocations: 148.8 kB / 359.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.008973, allocations: 159.9 kB / 360.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-05/0.009049, allocations: 264.1 kB / 360.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.871e-05/0.009128, allocations: 268 kB / 360.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-05/0.009204, allocations: 272.1 kB / 360.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.009402, allocations: 488.4 kB / 361.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-05/0.009455, allocations: 156.9 kB / 361.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.009501, allocations: 144.9 kB / 361.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-05/0.009587, allocations: 272 kB / 361.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.426e-05/0.009661, allocations: 268.1 kB / 362.2 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-05/0.00973, allocations: 268 kB / 362.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.424e-05/0.009794, allocations: 272 kB / 362.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.009941, allocations: 448.3 kB / 363.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.009984, allocations: 148.9 kB / 363.3 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.321e-05/0.01006, allocations: 276 kB / 363.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.632e-05/0.01011, allocations: 152.9 kB / 363.7 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.01019, allocations: 268 kB / 364 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.01023, allocations: 144.9 kB / 364.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.426e-05/0.01028, allocations: 119.2 kB / 364.2 MB, free: 9.402 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01028, allocations: 0 / 364.2 MB, free: 9.402 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004793/0.01076, allocations: 155.5 kB / 364.4 MB, free: 9.25 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.0006281/0.01138, allocations: 392 kB / 364.8 MB, free: 8.875 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.75e-05/0.01143, allocations: 4 kB / 364.8 MB, free: 8.871 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01143, allocations: 0 / 364.8 MB, free: 8.871 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.01144, allocations: 3.938 kB / 364.8 MB, free: 8.867 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.01177, allocations: 0.71 MB / 365.5 MB, free: 8.152 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001352/0.0119, allocations: 198.1 kB / 365.7 MB, free: 7.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.324e-05/0.01193, allocations: 55.36 kB / 365.7 MB, free: 7.855 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.909e-06/0.01194, allocations: 0 / 365.7 MB, free: 7.855 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.01198, allocations: 74.19 kB / 365.8 MB, free: 7.781 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01198, allocations: 0 / 365.8 MB, free: 7.781 MB / 298.7 MB Notification: Performance of Templates: time 0.006368/0.01835, allocations: 4.012 MB / 369.8 MB, free: 3.766 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","",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.3516671089455485]