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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 194.7 kB / 22.98 MB, free: 5.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] 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.2668/0.2668, allocations: 44.92 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00204/0.00204, allocations: 59.91 kB / 495.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3821, allocations: 64.25 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.002529/0.3847, allocations: 496.6 kB / 0.5468 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003689/0.3884, allocations: 2.015 MB / 0.5488 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-06/0.3884, allocations: 0 / 0.5488 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.229e-06/0.3884, allocations: 3.938 kB / 0.5488 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.443e-06/0.3884, allocations: 1.188 kB / 0.5488 GB, free: 11.26 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/package.mo:697:5-750: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.001894/0.3903, allocations: 0.5187 MB / 0.5493 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 2.2e-05/0.3903, allocations: 0 / 0.5493 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.182e-05/0.3903, allocations: 1.094 kB / 0.5493 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.728e-06/0.3903, allocations: 0 / 0.5493 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.556e-05/0.3903, allocations: 5.078 kB / 0.5493 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-06/0.3903, allocations: 0 / 0.5493 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.3919, allocations: 0.945 MB / 0.5502 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.3919, allocations: 0 / 0.5502 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.3919, allocations: 1.188 kB / 0.5503 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009975/0.3929, allocations: 0.7873 MB / 0.551 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3929, allocations: 1.156 kB / 0.551 GB, free: 10 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3929, allocations: 0 / 0.551 GB, free: 10 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3929, allocations: 0 / 0.551 GB, free: 10 MB / 398.1 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.0004527/0.3933, allocations: 384.2 kB / 0.5514 GB, free: 9.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3934, allocations: 9.531 kB / 0.5514 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/0.3935, allocations: 76.22 kB / 0.5515 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3936, allocations: 236.9 kB / 0.5517 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/0.3937, allocations: 154.9 kB / 0.5518 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.3937, allocations: 152.1 kB / 0.552 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.908e-05/0.3938, allocations: 113.2 kB / 0.5521 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.039e-05/0.3939, allocations: 75.28 kB / 0.5522 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.394, allocations: 151.8 kB / 0.5523 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.308e-05/0.394, allocations: 150.6 kB / 0.5525 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.3941, allocations: 155.7 kB / 0.5526 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.3944, allocations: 443.1 kB / 0.553 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.3945, allocations: 174.2 kB / 0.5532 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.147e-05/0.3946, allocations: 80.14 kB / 0.5533 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.3946, allocations: 83.27 kB / 0.5533 GB, free: 7.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.134e-05/0.3947, allocations: 110.9 kB / 0.5535 GB, free: 7.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.3947, allocations: 1.188 kB / 0.5535 GB, free: 7.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.998e-05/0.3948, allocations: 29.64 kB / 0.5535 GB, free: 7.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.3949, allocations: 153.6 kB / 0.5536 GB, free: 7.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.28e-05/0.3949, allocations: 89.86 kB / 0.5537 GB, free: 7.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.3949, allocations: 30.94 kB / 0.5537 GB, free: 7.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.395, allocations: 88.14 kB / 0.5538 GB, free: 6.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.395, allocations: 3.938 kB / 0.5538 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.395, allocations: 12.09 kB / 0.5538 GB, free: 6.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3951, allocations: 310.8 kB / 0.5541 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-06/0.3951, allocations: 3.938 kB / 0.5541 GB, free: 6.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.3952, allocations: 1.062 kB / 0.5541 GB, free: 6.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.3952, allocations: 76.5 kB / 0.5542 GB, free: 6.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-05/0.3952, allocations: 79.31 kB / 0.5543 GB, free: 6.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.498e-05/0.3953, allocations: 32.06 kB / 0.5543 GB, free: 6.418 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/0.3954, allocations: 84.91 kB / 0.5544 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.581e-05/0.3954, allocations: 79.22 kB / 0.5545 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.281e-05/0.3955, allocations: 155.8 kB / 0.5546 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.267e-05/0.3955, allocations: 76.58 kB / 0.5547 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.366e-05/0.3956, allocations: 167.8 kB / 0.5549 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.602e-05/0.3957, allocations: 84.47 kB / 0.5549 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.3957, allocations: 79.22 kB / 0.555 GB, free: 5.711 MB / 398.1 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.00014/0.3959, allocations: 258.7 kB / 0.5553 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.887e-05/0.3959, allocations: 106.1 kB / 0.5554 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.422e-05/0.396, allocations: 109.3 kB / 0.5555 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.813e-05/0.3961, allocations: 189.3 kB / 0.5557 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.55e-05/0.3961, allocations: 176.3 kB / 0.5558 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.682e-05/0.3962, allocations: 181.4 kB / 0.556 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.3965, allocations: 398.3 kB / 0.5564 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.422e-05/0.3966, allocations: 102 kB / 0.5565 GB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.3966, allocations: 110.1 kB / 0.5566 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.859e-05/0.3967, allocations: 185.3 kB / 0.5568 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.429e-05/0.3968, allocations: 185.4 kB / 0.5569 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-05/0.3969, allocations: 181.3 kB / 0.5571 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.812e-05/0.397, allocations: 181.3 kB / 0.5573 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.3972, allocations: 303.4 kB / 0.5576 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3973, allocations: 187.2 kB / 0.5577 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.3974, allocations: 181.4 kB / 0.5579 GB, free: 2.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.3975, allocations: 106.1 kB / 0.558 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/0.3975, allocations: 181.4 kB / 0.5582 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.3976, allocations: 102.1 kB / 0.5583 GB, free: 2.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.612e-05/0.3976, allocations: 79.28 kB / 0.5584 GB, free: 2.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3976, allocations: 0 / 0.5584 GB, free: 2.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000802/0.3984, allocations: 150.6 kB / 0.5585 GB, free: 2.047 MB / 398.1 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.0007873/0.3992, allocations: 342.4 kB / 0.5588 GB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.382e-05/0.3993, allocations: 1.156 kB / 0.5588 GB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3993, allocations: 1.062 kB / 0.5588 GB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.3993, allocations: 0 / 0.5588 GB, free: 1.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.3997, allocations: 464.5 kB / 0.5593 GB, free: 1.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/0.3999, allocations: 152.1 kB / 0.5594 GB, free: 1.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.4002, allocations: 0.6736 MB / 0.5601 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.548e-06/0.4003, allocations: 1.094 kB / 0.5601 GB, free: 492 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.4003, allocations: 8.5 kB / 0.5601 GB, free: 484 kB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4003, allocations: 0 / 0.5601 GB, free: 484 kB / 398.1 MB Notification: Performance of Templates: time 0.007921/0.4082, allocations: 3.404 MB / 0.5634 GB, free: 13.86 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 5.490619570016861]