Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001376/0.001376, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.063/1.063, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2674/0.2674, allocations: 34.87 MB / 296.3 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 378.7 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.486e-05, allocations: 6.875 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations): time 0.00153/0.001565, allocations: 0.4924 MB / 379.2 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.004827, allocations: 2.024 MB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-06/0.004833, allocations: 0 / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.004848, allocations: 0 / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 1.633e-06/0.00485, allocations: 0 / 381.3 MB, free: 15.53 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001967/0.006817, allocations: 0.5607 MB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 2.116e-05/0.006838, allocations: 4 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.772e-05/0.006866, allocations: 0 / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.385e-05/0.00688, allocations: 0 / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.091e-05/0.006891, allocations: 3.984 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.0069, allocations: 0 / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.008238, allocations: 0.8535 MB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.008248, allocations: 0 / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.332e-05/0.008261, allocations: 8 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.009527, allocations: 0.8222 MB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.009531, allocations: 0 / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.009532, allocations: 0 / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.009538, allocations: 0 / 383.5 MB, free: 13.27 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.0003625/0.0099, allocations: 411.6 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.009944, allocations: 8.031 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.01001, allocations: 120.1 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.715e-05/0.0101, allocations: 231.8 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/0.01016, allocations: 238.8 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.229e-05/0.01022, allocations: 238.8 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.967e-05/0.01029, allocations: 149.5 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.01032, allocations: 127.3 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/0.01039, allocations: 238.8 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/0.01046, allocations: 242.3 kB / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.853e-05/0.01053, allocations: 246.3 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002661/0.01079, allocations: 0.5681 MB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.399e-05/0.01089, allocations: 261.4 kB / 386.5 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.01093, allocations: 130.9 kB / 386.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.01096, allocations: 127.2 kB / 386.8 MB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/0.01102, allocations: 160.5 kB / 387 MB, free: 9.699 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.01102, allocations: 4 kB / 387 MB, free: 9.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.924e-05/0.01109, allocations: 25.7 kB / 387 MB, free: 9.664 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.01117, allocations: 204.2 kB / 387.2 MB, free: 9.445 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.421e-05/0.01121, allocations: 142.2 kB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.01122, allocations: 25.7 kB / 387.3 MB, free: 9.262 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.01126, allocations: 126.9 kB / 387.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.01126, allocations: 0 / 387.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.01129, allocations: 19.38 kB / 387.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.01143, allocations: 492.1 kB / 388 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.449e-06/0.01143, allocations: 0 / 388 MB, free: 8.613 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-05/0.01146, allocations: 25.7 kB / 388 MB, free: 8.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.0115, allocations: 127.2 kB / 388.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.924e-05/0.01153, allocations: 119.2 kB / 388.2 MB, free: 8.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.47e-05/0.01159, allocations: 37.64 kB / 388.3 MB, free: 8.297 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.969e-05/0.01164, allocations: 123.2 kB / 388.4 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/0.01168, allocations: 123.2 kB / 388.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.44e-05/0.01175, allocations: 242.3 kB / 388.7 MB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.521e-05/0.01178, allocations: 119.2 kB / 388.9 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-05/0.01185, allocations: 250.2 kB / 389.1 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.33e-05/0.01194, allocations: 119.2 kB / 389.2 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.01197, allocations: 127.2 kB / 389.3 MB, free: 7.211 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 0.0001322/0.0121, allocations: 403 kB / 389.7 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.01217, allocations: 148.8 kB / 389.9 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.585e-05/0.01223, allocations: 151.9 kB / 390 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002235/0.01245, allocations: 268 kB / 390.3 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-05/0.01252, allocations: 268.1 kB / 390.6 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.885e-05/0.01259, allocations: 272 kB / 390.8 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.01278, allocations: 499.8 kB / 391.3 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-05/0.01282, allocations: 144.9 kB / 391.5 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.01286, allocations: 152.8 kB / 391.6 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.916e-05/0.01293, allocations: 268.1 kB / 391.9 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.01299, allocations: 268.1 kB / 392.1 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.819e-05/0.01306, allocations: 276 kB / 392.4 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.969e-05/0.01313, allocations: 264.4 kB / 392.7 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.01328, allocations: 451.9 kB / 393.1 MB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.01332, allocations: 152.9 kB / 393.2 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.0134, allocations: 272 kB / 393.5 MB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.01348, allocations: 148.9 kB / 393.7 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.01356, allocations: 272 kB / 393.9 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.01361, allocations: 144.9 kB / 394.1 MB, free: 2.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.599e-05/0.01367, allocations: 123.1 kB / 394.2 MB, free: 2.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01367, allocations: 0 / 394.2 MB, free: 2.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007503/0.01442, allocations: 155.6 kB / 394.3 MB, free: 2.023 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.0007883/0.01521, allocations: 402.2 kB / 394.7 MB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.902e-05/0.01527, allocations: 15.92 kB / 394.7 MB, free: 1.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01527, allocations: 0 / 394.7 MB, free: 1.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.01527, allocations: 0 / 394.7 MB, free: 1.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.01564, allocations: 0.71 MB / 395.5 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001641/0.01581, allocations: 198.1 kB / 395.6 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.617e-05/0.01584, allocations: 55.3 kB / 395.7 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.476e-06/0.01585, allocations: 0 / 395.7 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.47e-05/0.01587, allocations: 12.5 kB / 395.7 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01587, allocations: 0 / 395.7 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of Templates: time 0.005348/0.02122, allocations: 3.516 MB / 399.2 MB, free: 13.07 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.356169853359461]