Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.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.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2302/0.2302, allocations: 46.11 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 75.88 kB / 482 MB, free: 4.129 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3812, allocations: 62.43 MB / 0.5316 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001522/0.3828, allocations: 0.4937 MB / 0.5321 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.3849, allocations: 1.557 MB / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.385, allocations: 5.375 kB / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.385, allocations: 0 / 0.5336 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.471e-06/0.385, allocations: 0 / 0.5336 GB, free: 12.02 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009/0.3859, allocations: 218.2 kB / 0.5339 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.386, allocations: 17.44 kB / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.386, allocations: 5.625 kB / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.716e-05/0.3861, allocations: 0 / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.546e-05/0.3861, allocations: 1.5 kB / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.631e-06/0.3861, allocations: 0 / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.3871, allocations: 0.7114 MB / 0.5346 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.656e-06/0.3872, allocations: 0 / 0.5346 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.3872, allocations: 1.375 kB / 0.5346 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007598/0.388, allocations: 0.6442 MB / 0.5352 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.388, allocations: 0 / 0.5352 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.388, allocations: 0 / 0.5352 GB, free: 11.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.388, allocations: 1.094 kB / 0.5352 GB, free: 11.26 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.0004799/0.3885, allocations: 363.9 kB / 0.5355 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3885, allocations: 8.969 kB / 0.5356 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.3886, allocations: 2.344 kB / 0.5356 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3887, allocations: 164.4 kB / 0.5357 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3887, allocations: 384 / 0.5357 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.3887, allocations: 1.406 kB / 0.5357 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.185e-05/0.3888, allocations: 36.94 kB / 0.5358 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3888, allocations: 3.938 kB / 0.5358 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3888, allocations: 0 / 0.5358 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3889, allocations: 1.094 kB / 0.5358 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.3889, allocations: 8.859 kB / 0.5358 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.389, allocations: 143.2 kB / 0.5359 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.65e-05/0.3891, allocations: 20.42 kB / 0.5359 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.3891, allocations: 9.719 kB / 0.5359 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.3891, allocations: 1.094 kB / 0.5359 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.3892, allocations: 61.3 kB / 0.536 GB, free: 10.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3892, allocations: 0 / 0.536 GB, free: 10.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000174/0.3893, allocations: 66.47 kB / 0.5361 GB, free: 10.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.3894, allocations: 86.31 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.036e-05/0.3895, allocations: 89.86 kB / 0.5362 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.3895, allocations: 26.61 kB / 0.5362 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.598e-05/0.3895, allocations: 80.14 kB / 0.5363 GB, free: 9.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.3895, allocations: 0.8125 kB / 0.5363 GB, free: 9.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.3896, allocations: 16.78 kB / 0.5363 GB, free: 9.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3897, allocations: 314.8 kB / 0.5366 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-06/0.3897, allocations: 1.312 kB / 0.5366 GB, free: 9.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-06/0.3897, allocations: 5.219 kB / 0.5366 GB, free: 9.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.067e-05/0.3898, allocations: 62.7 kB / 0.5367 GB, free: 9.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3898, allocations: 0 / 0.5367 GB, free: 9.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.623e-05/0.3899, allocations: 66.14 kB / 0.5368 GB, free: 9.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.3899, allocations: 39.61 kB / 0.5368 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3899, allocations: 0 / 0.5368 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3899, allocations: 1.531 kB / 0.5368 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.39, allocations: 0 / 0.5368 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.39, allocations: 0 / 0.5368 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.39, allocations: 5.312 kB / 0.5368 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.39, allocations: 3.938 kB / 0.5368 GB, free: 9.395 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.15e-05/0.3901, allocations: 142 kB / 0.537 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.3901, allocations: 4.969 kB / 0.537 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.187e-06/0.3901, allocations: 4.188 kB / 0.537 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3901, allocations: 0 / 0.537 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3901, allocations: 0 / 0.537 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.3901, allocations: 1.094 kB / 0.537 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.992e-05/0.3902, allocations: 158.7 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3903, allocations: 4 kB / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3903, allocations: 1.062 kB / 0.5371 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3903, allocations: 3.938 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3903, allocations: 1.094 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3903, allocations: 3.938 kB / 0.5371 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3903, allocations: 1.375 kB / 0.5371 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.781e-05/0.3904, allocations: 89.39 kB / 0.5372 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.3904, allocations: 81.11 kB / 0.5373 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.3905, allocations: 9.062 kB / 0.5373 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-06/0.3905, allocations: 1.062 kB / 0.5373 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.3905, allocations: 1.25 kB / 0.5373 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.3905, allocations: 0 / 0.5373 GB, free: 8.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.727e-05/0.3905, allocations: 75.28 kB / 0.5374 GB, free: 8.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3905, allocations: 1.094 kB / 0.5374 GB, free: 8.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006058/0.3912, allocations: 120 kB / 0.5375 GB, free: 8.73 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.0008084/0.392, allocations: 174.6 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3921, allocations: 59.91 kB / 0.5377 GB, free: 8.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3921, allocations: 0 / 0.5377 GB, free: 8.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.3921, allocations: 62.42 kB / 0.5378 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.3923, allocations: 3.125 kB / 0.5378 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.3925, allocations: 104.8 kB / 0.5379 GB, free: 8.344 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.3928, allocations: 0.67 MB / 0.5385 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.259e-05/0.3928, allocations: 12.66 kB / 0.5385 GB, free: 7.637 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3928, allocations: 0 / 0.5385 GB, free: 7.637 MB / 398.1 MB Notification: Performance of Templates: time 0.005482/0.3983, allocations: 2.711 MB / 0.5412 GB, free: 6.289 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices3/TestMatrices3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches