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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 79.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3572, allocations: 62.45 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.00162/0.3589, allocations: 493.6 kB / 0.5321 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.361, allocations: 1.616 MB / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.803e-05/0.3611, allocations: 0 / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.3611, allocations: 0 / 0.5337 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.144e-06/0.3611, allocations: 1.469 kB / 0.5337 GB, free: 11.96 MB / 398.1 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.0008582/0.362, allocations: 264 kB / 0.5339 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.988e-05/0.362, allocations: 5.531 kB / 0.534 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.365e-05/0.3621, allocations: 6.219 kB / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.451e-05/0.3621, allocations: 0 / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.778e-05/0.3621, allocations: 1.344 kB / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.43e-06/0.3622, allocations: 0 / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006973/0.3629, allocations: 0.4944 MB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.3629, allocations: 1.375 kB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.3629, allocations: 0 / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000427/0.3633, allocations: 308.8 kB / 0.5347 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3633, allocations: 4 kB / 0.5347 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3634, allocations: 1.375 kB / 0.5347 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3634, allocations: 0 / 0.5347 GB, free: 11.4 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.0003804/0.3637, allocations: 372.2 kB / 0.5351 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3638, allocations: 9.625 kB / 0.5351 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.3638, allocations: 0.9375 kB / 0.5351 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/0.3639, allocations: 164.4 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.364, allocations: 1.75 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.364, allocations: 1.75 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.255e-05/0.3641, allocations: 35.39 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3641, allocations: 0 / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3641, allocations: 5.359 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3641, allocations: 0 / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.3641, allocations: 5.312 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.3643, allocations: 143.1 kB / 0.5354 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.707e-05/0.3643, allocations: 15.95 kB / 0.5355 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.3644, allocations: 10.23 kB / 0.5355 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.3644, allocations: 5.375 kB / 0.5355 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.3644, allocations: 61.58 kB / 0.5355 GB, free: 10.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3644, allocations: 0 / 0.5355 GB, free: 10.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.3646, allocations: 66.2 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.3646, allocations: 78.48 kB / 0.5357 GB, free: 10.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.63e-05/0.3647, allocations: 89.86 kB / 0.5358 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.3647, allocations: 29.7 kB / 0.5358 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.3647, allocations: 89.58 kB / 0.5359 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.3648, allocations: 0 / 0.5359 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.3648, allocations: 20.39 kB / 0.5359 GB, free: 10.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3649, allocations: 310.8 kB / 0.5362 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-06/0.3649, allocations: 1.375 kB / 0.5362 GB, free: 9.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.365, allocations: 1.375 kB / 0.5362 GB, free: 9.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.365, allocations: 59.02 kB / 0.5362 GB, free: 9.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.365, allocations: 64 / 0.5362 GB, free: 9.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.545e-05/0.3651, allocations: 78.11 kB / 0.5363 GB, free: 9.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.3651, allocations: 36.52 kB / 0.5364 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3651, allocations: 0 / 0.5364 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3652, allocations: 7.984 kB / 0.5364 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.3652, allocations: 0 / 0.5364 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3652, allocations: 1 kB / 0.5364 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.3652, allocations: 5.094 kB / 0.5364 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3652, allocations: 0 / 0.5364 GB, free: 9.523 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 9.225e-05/0.3653, allocations: 141.9 kB / 0.5365 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-06/0.3653, allocations: 5.031 kB / 0.5365 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.739e-06/0.3653, allocations: 8.328 kB / 0.5365 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3654, allocations: 0 / 0.5365 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3654, allocations: 0 / 0.5365 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3654, allocations: 1.094 kB / 0.5365 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.581e-05/0.3655, allocations: 146.8 kB / 0.5367 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3655, allocations: 0 / 0.5367 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3655, allocations: 1.469 kB / 0.5367 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3655, allocations: 3.938 kB / 0.5367 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.3655, allocations: 1.094 kB / 0.5367 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3655, allocations: 7.984 kB / 0.5367 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.3655, allocations: 0 / 0.5367 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.911e-05/0.3656, allocations: 93.95 kB / 0.5368 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.3656, allocations: 78.2 kB / 0.5368 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.3657, allocations: 8.984 kB / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-06/0.3657, allocations: 0 / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.3657, allocations: 1.188 kB / 0.5368 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.3657, allocations: 5.094 kB / 0.5369 GB, free: 8.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.509e-05/0.3657, allocations: 75.28 kB / 0.5369 GB, free: 8.875 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3658, allocations: 0 / 0.5369 GB, free: 8.875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.3661, allocations: 63.45 kB / 0.537 GB, free: 8.859 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.0004417/0.3665, allocations: 195.5 kB / 0.5372 GB, free: 8.719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.3666, allocations: 56.53 kB / 0.5372 GB, free: 8.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3667, allocations: 0 / 0.5372 GB, free: 8.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.96e-05/0.3667, allocations: 59.16 kB / 0.5373 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.3668, allocations: 2.25 kB / 0.5373 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/0.367, allocations: 113.9 kB / 0.5374 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.3673, allocations: 0.6702 MB / 0.538 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.13e-05/0.3673, allocations: 8.875 kB / 0.5381 GB, free: 7.75 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3673, allocations: 0 / 0.5381 GB, free: 7.75 MB / 398.1 MB Notification: Performance of Templates: time 0.002952/0.3702, allocations: 1.273 MB / 0.5393 GB, free: 7.117 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices/TestMatrices.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches