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.001135/0.001135, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001731/0.002866, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001294/0.001294, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002702, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.9171/0.9171, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1595/1.077, allocations: 52.48 MB / 238.5 MB, free: 7.637 MB / 234.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.1813/0.1813, allocations: 32.8 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02613/0.2074, allocations: 12.54 MB / 284.5 MB, free: 9.723 MB / 282.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.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 1.363e-06/1.363e-06, allocations: 0 / 285.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.435e-05, allocations: 2.312 kB / 285.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.001554/0.001578, allocations: 0.5519 MB / 286.4 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.004151, allocations: 1.971 MB / 288.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-06/0.004156, allocations: 0 / 288.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.196e-06/0.004159, allocations: 0 / 288.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.2e-07/0.004159, allocations: 0 / 288.4 MB, free: 5.898 MB / 282.7 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.001575/0.005734, allocations: 0.5528 MB / 288.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 2.125e-05/0.005755, allocations: 0 / 288.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.62e-05/0.005782, allocations: 3.938 kB / 288.9 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.322e-05/0.005805, allocations: 4 kB / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.001e-05/0.005815, allocations: 0 / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-06/0.005822, allocations: 0 / 288.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.007156, allocations: 0.7952 MB / 289.7 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.007167, allocations: 0 / 289.7 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.194e-05/0.007178, allocations: 0 / 289.7 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008226/0.008001, allocations: 0.6508 MB / 290.4 MB, free: 3.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.008012, allocations: 4 kB / 290.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.008015, allocations: 3.984 kB / 290.4 MB, free: 3.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.008025, allocations: 0 / 290.4 MB, free: 3.879 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.0003772/0.008402, allocations: 316 kB / 290.7 MB, free: 3.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.008436, allocations: 8.031 kB / 290.7 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.008488, allocations: 76.22 kB / 290.8 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.008574, allocations: 181.1 kB / 290.9 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.008615, allocations: 150.9 kB / 291.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.008659, allocations: 154.9 kB / 291.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.025e-05/0.008709, allocations: 105.5 kB / 291.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.008732, allocations: 75.47 kB / 291.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.425e-05/0.008776, allocations: 154.9 kB / 291.6 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.447e-05/0.00882, allocations: 158.5 kB / 291.7 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.125e-05/0.008862, allocations: 154.6 kB / 291.9 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.009043, allocations: 349.3 kB / 292.2 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.159e-05/0.009114, allocations: 177.1 kB / 292.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.356e-05/0.009138, allocations: 80.14 kB / 292.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.009158, allocations: 79.22 kB / 292.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.009202, allocations: 113.8 kB / 292.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.009203, allocations: 0 / 292.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 6.207e-05/0.009265, allocations: 25.75 kB / 292.7 MB, free: 1.465 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.00932, allocations: 142.6 kB / 292.8 MB, free: 1.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.11e-05/0.009351, allocations: 89.86 kB / 292.9 MB, free: 1.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.009362, allocations: 25.7 kB / 292.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.009392, allocations: 84.14 kB / 293 MB, free: 1.098 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.092e-06/0.009393, allocations: 0 / 293 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.00942, allocations: 9.719 kB / 293 MB, free: 1.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.216e-05/0.009512, allocations: 318.8 kB / 293.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-06/0.009515, allocations: 0 / 293.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.847e-05/0.009544, allocations: 29.69 kB / 293.4 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.009568, allocations: 75.28 kB / 293.4 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-05/0.009589, allocations: 75.28 kB / 293.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5e-05/0.009639, allocations: 33.73 kB / 293.5 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.009672, allocations: 79.28 kB / 293.6 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/0.009699, allocations: 79.22 kB / 293.7 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.312e-05/0.009753, allocations: 154.6 kB / 293.8 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.443e-05/0.009777, allocations: 79.22 kB / 293.9 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-05/0.009819, allocations: 154.7 kB / 294.1 MB, free: 0 / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.945e-05/0.009908, allocations: 87.27 kB / 294.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.009931, allocations: 83.16 kB / 294.2 MB, free: 15.83 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 8.87e-05/0.01002, allocations: 260.4 kB / 294.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.01007, allocations: 101 kB / 294.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.383e-05/0.01011, allocations: 115.9 kB / 294.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-05/0.01016, allocations: 180.3 kB / 294.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.937e-05/0.01021, allocations: 188.2 kB / 295.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.72e-05/0.01026, allocations: 176.3 kB / 295.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.01042, allocations: 325.4 kB / 295.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/0.01045, allocations: 104.9 kB / 295.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.01048, allocations: 109 kB / 295.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.01052, allocations: 108.9 kB / 295.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.701e-05/0.01057, allocations: 176.3 kB / 296 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/0.01062, allocations: 180.3 kB / 296.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.845e-05/0.01067, allocations: 184.2 kB / 296.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.773e-05/0.01071, allocations: 184.2 kB / 296.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.01084, allocations: 311.7 kB / 296.9 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.879e-05/0.0109, allocations: 176.3 kB / 297.1 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-05/0.01097, allocations: 108.9 kB / 297.2 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.01103, allocations: 180.2 kB / 297.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.01106, allocations: 105.2 kB / 297.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.445e-05/0.01107, allocations: 4.859 kB / 297.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01107, allocations: 0 / 297.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006088/0.01168, allocations: 147.6 kB / 297.6 MB, free: 12.3 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.0007841/0.01246, allocations: 388.7 kB / 298 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.809e-05/0.0125, allocations: 8 kB / 298 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.01251, allocations: 0 / 298 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.01251, allocations: 4 kB / 298 MB, free: 11.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.01268, allocations: 463.6 kB / 298.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001162/0.01279, allocations: 156.2 kB / 298.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.587e-05/0.01282, allocations: 59.23 kB / 298.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.929e-06/0.01283, allocations: 0 / 298.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.01286, allocations: 51.38 kB / 298.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01286, allocations: 0 / 298.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of Templates: time 0.005235/0.01809, allocations: 3.897 MB / 302.6 MB, free: 7.262 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.93321040738374]