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.001508/0.001508, allocations: 87.56 kB / 21.19 MB, free: 3.398 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.00163/0.00163, allocations: 165 kB / 24.56 MB, free: 32 kB / 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 0.9806/0.9806, allocations: 177.1 MB / 205 MB, free: 5.598 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.2235/0.2235, allocations: 32.81 MB / 294.3 MB, free: 1.277 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.242e-06/1.242e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.915e-05, allocations: 4.562 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.0008736/0.0008928, allocations: 0.5007 MB / 376.5 MB, free: 4.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.002906, allocations: 2.02 MB / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-06/0.00291, allocations: 0 / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.46e-06/0.002915, allocations: 0 / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.755e-06/0.002918, allocations: 0 / 378.5 MB, free: 2.137 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.001194/0.004112, allocations: 0.5569 MB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 1.57e-05/0.004128, allocations: 0 / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.239e-05/0.00415, allocations: 0 / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.15e-05/0.004162, allocations: 0 / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-06/0.004168, allocations: 4 kB / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.004176, allocations: 0 / 379.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009091/0.005085, allocations: 0.8652 MB / 379.9 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.831e-06/0.005091, allocations: 4 kB / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.634e-06/0.005098, allocations: 0 / 379.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007215/0.00582, allocations: 0.8222 MB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.005823, allocations: 4 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005823, allocations: 0 / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.005827, allocations: 0 / 380.8 MB, free: 15.88 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.0002756/0.006103, allocations: 411.6 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.006136, allocations: 8.031 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.006189, allocations: 120.1 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.842e-05/0.006258, allocations: 223.8 kB / 381.5 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.472e-05/0.006313, allocations: 242.8 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.721e-05/0.00636, allocations: 246.7 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.698e-05/0.006427, allocations: 149.4 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.006455, allocations: 123.4 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-05/0.006512, allocations: 246.7 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.006563, allocations: 242.3 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.27e-05/0.006616, allocations: 242.4 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.006803, allocations: 0.5642 MB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.636e-05/0.00688, allocations: 269.4 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.006911, allocations: 126.9 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.006934, allocations: 119.2 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.006975, allocations: 160.6 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.006976, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 4.662e-05/0.007023, allocations: 25.7 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.007083, allocations: 204.2 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.894e-05/0.007122, allocations: 150.2 kB / 384.6 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.007129, allocations: 25.7 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.007159, allocations: 126.9 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.007161, allocations: 0 / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.007178, allocations: 15.38 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.007278, allocations: 0.4884 MB / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-06/0.007282, allocations: 0 / 385.2 MB, free: 11.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.29e-05/0.007305, allocations: 29.7 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/0.007331, allocations: 119.2 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.539e-05/0.007356, allocations: 119.2 kB / 385.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.921e-05/0.007386, allocations: 33.64 kB / 385.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.007419, allocations: 125.1 kB / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.007445, allocations: 123.1 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.306e-05/0.007498, allocations: 246.4 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.545e-05/0.007524, allocations: 123.1 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.692e-05/0.007571, allocations: 242.3 kB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.007622, allocations: 127.2 kB / 386.5 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.007647, allocations: 131.2 kB / 386.6 MB, free: 9.805 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.809e-05/0.007745, allocations: 395 kB / 387 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.007784, allocations: 148.9 kB / 387.1 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.00782, allocations: 151.8 kB / 387.3 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.492e-05/0.007875, allocations: 268.1 kB / 387.6 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.06e-05/0.007935, allocations: 268.1 kB / 387.8 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-05/0.007992, allocations: 272 kB / 388.1 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.008133, allocations: 495.9 kB / 388.6 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-05/0.008165, allocations: 148.8 kB / 388.7 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.008194, allocations: 144.9 kB / 388.8 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-05/0.008249, allocations: 276.1 kB / 389.1 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.008311, allocations: 272 kB / 389.4 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.045e-05/0.008361, allocations: 268.1 kB / 389.6 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-05/0.008413, allocations: 272.4 kB / 389.9 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.008526, allocations: 447.9 kB / 390.3 MB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.008563, allocations: 152.9 kB / 390.5 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.008622, allocations: 268.1 kB / 390.8 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.008669, allocations: 148.8 kB / 390.9 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.008728, allocations: 268.1 kB / 391.2 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.008758, allocations: 148.8 kB / 391.3 MB, free: 4.902 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.536e-05/0.008793, allocations: 123.1 kB / 391.4 MB, free: 4.781 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008793, allocations: 4 kB / 391.4 MB, free: 4.777 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003629/0.009156, allocations: 155.6 kB / 391.6 MB, free: 4.625 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.000483/0.009639, allocations: 407.1 kB / 392 MB, free: 4.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.767e-05/0.009677, allocations: 8 kB / 392 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.009678, allocations: 0 / 392 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.009679, allocations: 0 / 392 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.009932, allocations: 0.7062 MB / 392.7 MB, free: 3.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001267/0.01006, allocations: 202 kB / 392.9 MB, free: 3.289 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.968e-05/0.01009, allocations: 55.34 kB / 393 MB, free: 3.215 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.422e-06/0.01009, allocations: 0 / 393 MB, free: 3.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.263e-05/0.01011, allocations: 12.5 kB / 393 MB, free: 3.203 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01011, allocations: 0 / 393 MB, free: 3.203 MB / 362.7 MB Notification: Performance of Templates: time 0.004867/0.01497, allocations: 4.063 MB / 397 MB, free: 15.14 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.0848815850913525]