Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 105.9 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 196.2 kB / 23.52 MB, free: 5.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 252.1 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2386/0.2386, allocations: 44.91 MB / 352.1 MB, free: 12.3 MB / 286.1 MB [Timeout remaining time 89] 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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.89 kB / 495.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3923, allocations: 64.25 MB / 0.5467 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00223/0.3945, allocations: 0.4974 MB / 0.5472 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004014/0.3985, allocations: 2.107 MB / 0.5493 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.3986, allocations: 1.094 kB / 0.5493 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.3986, allocations: 0 / 0.5493 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.444e-06/0.3986, allocations: 0 / 0.5493 GB, free: 11.2 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.401, allocations: 0.7287 MB / 0.55 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.244e-05/0.4011, allocations: 5.469 kB / 0.55 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.4011, allocations: 1.281 kB / 0.55 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.087e-05/0.4011, allocations: 3.938 kB / 0.55 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.261e-05/0.4012, allocations: 5.344 kB / 0.55 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-06/0.4012, allocations: 0 / 0.55 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002612/0.4038, allocations: 1.579 MB / 0.5515 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.919e-06/0.4038, allocations: 0 / 0.5515 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.4038, allocations: 5.062 kB / 0.5516 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.4058, allocations: 1.545 MB / 0.5531 GB, free: 9.207 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4058, allocations: 3.984 kB / 0.5531 GB, free: 9.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4058, allocations: 5.094 kB / 0.5531 GB, free: 9.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.4058, allocations: 0 / 0.5531 GB, free: 9.199 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0006632/0.4065, allocations: 423.2 kB / 0.5535 GB, free: 8.762 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4065, allocations: 9.469 kB / 0.5535 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.4065, allocations: 4.922 kB / 0.5535 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.4067, allocations: 160.4 kB / 0.5536 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.4067, allocations: 1.406 kB / 0.5536 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.4067, allocations: 5.219 kB / 0.5536 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.4068, allocations: 32.14 kB / 0.5537 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4068, allocations: 0 / 0.5537 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.4068, allocations: 3.984 kB / 0.5537 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4068, allocations: 0.9688 kB / 0.5537 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.4068, allocations: 5.062 kB / 0.5537 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.407, allocations: 146.8 kB / 0.5538 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.897e-05/0.4071, allocations: 16.95 kB / 0.5538 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.853e-05/0.4071, allocations: 10.02 kB / 0.5539 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.4071, allocations: 4 kB / 0.5539 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.785e-05/0.4072, allocations: 57.33 kB / 0.5539 GB, free: 8.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4072, allocations: 0 / 0.5539 GB, free: 8.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002094/0.4074, allocations: 74.88 kB / 0.554 GB, free: 8.137 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.4074, allocations: 78.3 kB / 0.5541 GB, free: 8.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/0.4075, allocations: 89.86 kB / 0.5541 GB, free: 7.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.4075, allocations: 26.86 kB / 0.5542 GB, free: 7.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.4076, allocations: 84.2 kB / 0.5542 GB, free: 7.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.4076, allocations: 5.219 kB / 0.5543 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.4076, allocations: 14.86 kB / 0.5543 GB, free: 7.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4078, allocations: 316 kB / 0.5546 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.4078, allocations: 1.156 kB / 0.5546 GB, free: 7.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-06/0.4078, allocations: 1.125 kB / 0.5546 GB, free: 7.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.759e-05/0.4079, allocations: 59.61 kB / 0.5546 GB, free: 7.418 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4079, allocations: 0 / 0.5546 GB, free: 7.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.04e-05/0.4079, allocations: 73.7 kB / 0.5547 GB, free: 7.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.408, allocations: 33.7 kB / 0.5547 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.408, allocations: 0 / 0.5547 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.408, allocations: 1.094 kB / 0.5547 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.408, allocations: 0 / 0.5547 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.408, allocations: 1.156 kB / 0.5547 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.408, allocations: 7.953 kB / 0.5547 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.408, allocations: 1.125 kB / 0.5547 GB, free: 7.301 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001106/0.4081, allocations: 138.6 kB / 0.5549 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.4082, allocations: 9.125 kB / 0.5549 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.427e-05/0.4082, allocations: 7.109 kB / 0.5549 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4082, allocations: 1.219 kB / 0.5549 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4082, allocations: 0 / 0.5549 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4082, allocations: 0 / 0.5549 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.4083, allocations: 144 kB / 0.555 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.4083, allocations: 3.938 kB / 0.555 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.4083, allocations: 0 / 0.555 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4083, allocations: 1.125 kB / 0.555 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.4083, allocations: 0 / 0.555 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.4083, allocations: 13.14 kB / 0.555 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4083, allocations: 0 / 0.555 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.4085, allocations: 89.5 kB / 0.5551 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.445e-05/0.4085, allocations: 82.23 kB / 0.5552 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.4085, allocations: 5.203 kB / 0.5552 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-06/0.4085, allocations: 0 / 0.5552 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.4086, allocations: 5.156 kB / 0.5552 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.4086, allocations: 1.219 kB / 0.5552 GB, free: 6.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.615e-05/0.4086, allocations: 79.31 kB / 0.5553 GB, free: 6.648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4086, allocations: 3.938 kB / 0.5553 GB, free: 6.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001119/0.4097, allocations: 272.4 kB / 0.5556 GB, free: 6.477 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001393/0.4111, allocations: 423.4 kB / 0.556 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.4112, allocations: 59.39 kB / 0.556 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4112, allocations: 0 / 0.556 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.496e-05/0.4113, allocations: 63.34 kB / 0.5561 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.4114, allocations: 12.06 kB / 0.5561 GB, free: 5.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.4117, allocations: 98.78 kB / 0.5562 GB, free: 5.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.4121, allocations: 0.6766 MB / 0.5568 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.4121, allocations: 7.438 kB / 0.5569 GB, free: 5.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4121, allocations: 0 / 0.5569 GB, free: 5.07 MB / 398.1 MB Notification: Performance of Templates: time 0.01246/0.4245, allocations: 6.623 MB / 0.5633 GB, free: 14.44 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches