Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.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.001009/0.001009, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00148/0.002489, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009709/0.0009709, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002313, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.008/1.008, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09848/1.107, allocations: 53.86 MB / 243.7 MB, free: 14.92 MB / 250.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.2504/0.2504, allocations: 34.86 MB / 279.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0229/0.2733, allocations: 13.23 MB / 292.6 MB, free: 6.477 MB / 282.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.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 293.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.575e-05, allocations: 6.875 kB / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0009461/0.0009619, allocations: 0.5481 MB / 294.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.00241, allocations: 1.605 MB / 296 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.929e-06/0.00242, allocations: 0 / 296 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.046e-06/0.002423, allocations: 0 / 296 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.31e-07/0.002424, allocations: 0 / 296 MB, free: 3.047 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.002965, allocations: 303.8 kB / 296.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.575e-05/0.003001, allocations: 0 / 296.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.532e-05/0.003026, allocations: 7.984 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.072e-05/0.003047, allocations: 4 kB / 296.3 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.305e-05/0.00306, allocations: 3.938 kB / 296.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-06/0.003065, allocations: 0 / 296.3 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004014/0.003466, allocations: 387.1 kB / 296.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-06/0.003472, allocations: 3.938 kB / 296.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.034e-05/0.003483, allocations: 4 kB / 296.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.003722, allocations: 259.4 kB / 297 MB, free: 2.094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.003734, allocations: 0 / 297 MB, free: 2.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003734, allocations: 0 / 297 MB, free: 2.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.003747, allocations: 0 / 297 MB, free: 2.094 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002531/0.004, allocations: 298 kB / 297.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.595e-05/0.004026, allocations: 12.92 kB / 297.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.00405, allocations: 0.9375 kB / 297.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.232e-05/0.004103, allocations: 109.7 kB / 297.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.004111, allocations: 384 / 297.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-06/0.004116, allocations: 384 / 297.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.984e-05/0.004176, allocations: 63.94 kB / 297.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-06/0.004182, allocations: 4.125 kB / 297.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-06/0.004186, allocations: 384 / 297.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.004191, allocations: 3.938 kB / 297.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.634e-05/0.004208, allocations: 29.7 kB / 297.5 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.961e-05/0.004257, allocations: 57.05 kB / 297.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.34e-05/0.004291, allocations: 48.25 kB / 297.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.004306, allocations: 38.61 kB / 297.6 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-06/0.004308, allocations: 0 / 297.6 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.004337, allocations: 56.27 kB / 297.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.004338, allocations: 0 / 297.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 8.836e-05/0.004426, allocations: 114.8 kB / 297.8 MB, free: 1.125 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.004456, allocations: 81.09 kB / 297.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.628e-05/0.004483, allocations: 93.8 kB / 297.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.00449, allocations: 25.83 kB / 298 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.768e-05/0.004508, allocations: 88.14 kB / 298.1 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.004519, allocations: 0.6875 kB / 298.1 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/0.004539, allocations: 9.719 kB / 298.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.004607, allocations: 318.8 kB / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.004618, allocations: 25.7 kB / 298.4 MB, free: 448 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.908e-06/0.004628, allocations: 29.7 kB / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.004663, allocations: 64.25 kB / 298.5 MB, free: 332 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.004664, allocations: 4 kB / 298.5 MB, free: 328 kB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.53e-05/0.00471, allocations: 81.11 kB / 298.6 MB, free: 228 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.004739, allocations: 41.78 kB / 298.6 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.004742, allocations: 0 / 298.6 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.183e-06/0.004749, allocations: 7.938 kB / 298.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.506e-06/0.004753, allocations: 0 / 298.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.004755, allocations: 0 / 298.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.389e-05/0.004769, allocations: 0 / 298.6 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.004776, allocations: 3.938 kB / 298.6 MB, free: 168 kB / 282.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: 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 5.002e-05/0.004826, allocations: 139.5 kB / 298.8 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-06/0.004831, allocations: 3.984 kB / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.112e-06/0.004837, allocations: 3 kB / 298.8 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.004839, allocations: 8 kB / 298.8 MB, free: 0 / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.00484, allocations: 0 / 298.8 MB, free: 0 / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.004856, allocations: 4.047 kB / 298.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.698e-05/0.004893, allocations: 65.78 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.004893, allocations: 0 / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.004894, allocations: 0 / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-06/0.004897, allocations: 4 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-07/0.004898, allocations: 0 / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-06/0.004901, allocations: 0 / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.11e-07/0.004901, allocations: 0 / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.004902, allocations: 0 / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.423e-05/0.004956, allocations: 124.4 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-06/0.004964, allocations: 0 / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.408e-06/0.004968, allocations: 0 / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-06/0.004975, allocations: 0 / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.004977, allocations: 4 kB / 299 MB, free: 15.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.278e-06/0.004981, allocations: 8.797 kB / 299 MB, free: 15.74 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004981, allocations: 0 / 299 MB, free: 15.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.005152, allocations: 63.8 kB / 299 MB, free: 15.68 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: 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.0002898/0.005442, allocations: 189.5 kB / 299.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.345e-05/0.005515, allocations: 115.7 kB / 299.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.005517, allocations: 4.062 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.76e-05/0.005545, allocations: 93.95 kB / 299.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.689e-05/0.005582, allocations: 7.938 kB / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001197/0.005701, allocations: 117.3 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.219e-05/0.005724, allocations: 51.36 kB / 299.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.639e-06/0.005728, allocations: 0 / 299.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.005757, allocations: 55.38 kB / 299.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.005757, allocations: 0 / 299.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of Templates: time 0.002443/0.0082, allocations: 1.498 MB / 301.2 MB, free: 13.48 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestMatrices/TestMatrices.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: 2.7847432158887386]