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.001144/0.001144, allocations: 95.31 kB / 20.43 MB, free: 4.141 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.001053/0.001053, allocations: 165 kB / 23.8 MB, free: 0.7734 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 0.9628/0.9628, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1382/0.1382, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.853e-06/1.853e-06, allocations: 3.938 kB / 347.6 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.611e-05, allocations: 6.25 kB / 347.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0008881/0.0009142, allocations: 0.5102 MB / 348.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.002834, allocations: 1.989 MB / 350.2 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-06/0.002839, allocations: 4 kB / 350.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.317e-06/0.002848, allocations: 0 / 350.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.403e-06/0.00285, allocations: 0 / 350.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.004097, allocations: 0.5659 MB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 1.807e-05/0.004115, allocations: 0 / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.6e-05/0.004141, allocations: 0 / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.343e-05/0.004154, allocations: 0 / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-06/0.004163, allocations: 0 / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.004172, allocations: 0 / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000814/0.004986, allocations: 0.8496 MB / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.564e-06/0.004994, allocations: 0 / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.038e-05/0.005004, allocations: 0 / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005976/0.005602, allocations: 0.7949 MB / 352.4 MB, free: 4.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005604, allocations: 0 / 352.4 MB, free: 4.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005605, allocations: 4 kB / 352.4 MB, free: 4.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.005609, allocations: 0 / 352.4 MB, free: 4.719 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.0002282/0.005837, allocations: 407.6 kB / 352.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.005873, allocations: 12.03 kB / 352.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.005913, allocations: 120.1 kB / 352.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.027e-05/0.005954, allocations: 235.8 kB / 353.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.005974, allocations: 238.8 kB / 353.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.005995, allocations: 246.7 kB / 353.6 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.169e-05/0.006037, allocations: 149.4 kB / 353.8 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.006049, allocations: 123.4 kB / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.006073, allocations: 238.8 kB / 354.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.0061, allocations: 242.3 kB / 354.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.947e-05/0.00612, allocations: 242.4 kB / 354.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.006249, allocations: 0.5603 MB / 355.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.756e-05/0.006296, allocations: 273.4 kB / 355.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.784e-05/0.006314, allocations: 126.9 kB / 355.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.006325, allocations: 123.2 kB / 355.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.006352, allocations: 160.6 kB / 355.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 4.91e-07/0.006352, allocations: 0 / 355.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 4.942e-05/0.006402, allocations: 33.62 kB / 355.8 MB, free: 1.105 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.006436, allocations: 200.2 kB / 356 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.761e-05/0.006453, allocations: 142.2 kB / 356.2 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-06/0.006459, allocations: 25.7 kB / 356.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.457e-05/0.006473, allocations: 126.9 kB / 356.3 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.006475, allocations: 7.938 kB / 356.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.006491, allocations: 15.38 kB / 356.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.006535, allocations: 0.4884 MB / 356.8 MB, free: 48 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-06/0.006539, allocations: 0 / 356.8 MB, free: 48 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.006559, allocations: 33.73 kB / 356.9 MB, free: 8 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.006608, allocations: 119.2 kB / 357 MB, free: 15.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.609e-05/0.006634, allocations: 119.2 kB / 357.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.199e-05/0.006666, allocations: 25.7 kB / 357.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.006705, allocations: 135.1 kB / 357.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/0.006733, allocations: 119.2 kB / 357.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.017e-05/0.006794, allocations: 238.4 kB / 357.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.828e-05/0.006822, allocations: 127.1 kB / 357.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-05/0.006873, allocations: 242.3 kB / 358 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.18e-05/0.006925, allocations: 131.2 kB / 358.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.00695, allocations: 123.2 kB / 358.2 MB, free: 14.64 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.0001095/0.007059, allocations: 391 kB / 358.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.007107, allocations: 152.9 kB / 358.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.823e-05/0.007155, allocations: 151.8 kB / 358.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.184e-05/0.007217, allocations: 264.1 kB / 359.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.669e-05/0.007284, allocations: 276 kB / 359.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.531e-05/0.007349, allocations: 272.1 kB / 359.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.007511, allocations: 495.9 kB / 360.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-05/0.007547, allocations: 148.8 kB / 360.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.007578, allocations: 148.9 kB / 360.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.886e-05/0.007637, allocations: 272 kB / 360.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/0.007699, allocations: 272.1 kB / 361 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.698e-05/0.007756, allocations: 264.1 kB / 361.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.712e-05/0.007813, allocations: 272 kB / 361.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.007943, allocations: 444.2 kB / 362 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.00798, allocations: 152.9 kB / 362.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/0.008049, allocations: 272.1 kB / 362.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.481e-05/0.008104, allocations: 148.8 kB / 362.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.008169, allocations: 264.1 kB / 362.8 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.008207, allocations: 156.8 kB / 362.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.17e-05/0.008249, allocations: 123.1 kB / 363 MB, free: 9.613 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008249, allocations: 0 / 363 MB, free: 9.613 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003827/0.008631, allocations: 155.5 kB / 363.2 MB, free: 9.461 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.0005176/0.009149, allocations: 397.1 kB / 363.6 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 4.679e-05/0.009196, allocations: 0 / 363.6 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009197, allocations: 0 / 363.6 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.009199, allocations: 0 / 363.6 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.009462, allocations: 0.7139 MB / 364.3 MB, free: 8.359 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001323/0.009594, allocations: 198.1 kB / 364.5 MB, free: 8.137 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.439e-05/0.009628, allocations: 59.34 kB / 364.5 MB, free: 8.059 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.705e-06/0.009636, allocations: 0 / 364.5 MB, free: 8.059 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.376e-05/0.00965, allocations: 8.5 kB / 364.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.00965, allocations: 4 kB / 364.6 MB, free: 8.047 MB / 298.7 MB Notification: Performance of Templates: time 0.004993/0.01464, allocations: 3.453 MB / 368 MB, free: 4.594 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.1127762850373983]