Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001825/0.001824, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002589/0.002589, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.246/2.246, allocations: 227.4 MB / 246.9 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5019/0.5019, allocations: 46.11 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.001711, allocations: 75.5 kB / 417.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1516, allocations: 62.45 MB / 479.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.003325/0.155, allocations: 0.5411 MB / 480.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005461/0.1605, allocations: 2.207 MB / 482.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.795e-05/0.1606, allocations: 0 / 482.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.1607, allocations: 0 / 482.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.833e-06/0.1607, allocations: 0 / 482.7 MB, free: 2.992 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.003251/0.164, allocations: 0.6411 MB / 483.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.147e-05/0.164, allocations: 0 / 483.3 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.004e-05/0.1641, allocations: 4 kB / 483.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.568e-05/0.1642, allocations: 3.938 kB / 483.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.41e-05/0.1642, allocations: 3.938 kB / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.853e-06/0.1642, allocations: 0 / 483.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003711/0.1679, allocations: 1.4 MB / 484.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.168, allocations: 0 / 484.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.168, allocations: 4 kB / 484.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.1703, allocations: 1.162 MB / 485.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1703, allocations: 0 / 485.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.1703, allocations: 0 / 485.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1703, allocations: 0 / 485.9 MB, free: 15.78 MB / 366.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.001246/0.1716, allocations: 413.2 kB / 486.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.1716, allocations: 8.875 kB / 486.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.1717, allocations: 0.9375 kB / 486.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.1719, allocations: 176.4 kB / 486.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1719, allocations: 384 / 486.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.1719, allocations: 4.125 kB / 486.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.1721, allocations: 37.64 kB / 486.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1721, allocations: 3.984 kB / 486.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1721, allocations: 0 / 486.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1721, allocations: 0 / 486.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.1722, allocations: 0 / 486.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002016/0.1724, allocations: 141.7 kB / 486.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.63e-05/0.1725, allocations: 22.61 kB / 486.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.1725, allocations: 8.797 kB / 486.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1726, allocations: 0 / 486.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.801e-05/0.1726, allocations: 72.25 kB / 486.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/0.1726, allocations: 0 / 486.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.00025/0.1729, allocations: 59.41 kB / 486.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/0.173, allocations: 77.23 kB / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/0.1731, allocations: 93.86 kB / 487 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1731, allocations: 25.7 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.1732, allocations: 80.14 kB / 487.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.1732, allocations: 3.906 kB / 487.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.1733, allocations: 25.7 kB / 487.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1735, allocations: 314.8 kB / 487.4 MB, free: 14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.1735, allocations: 0 / 487.4 MB, free: 14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.1735, allocations: 3.938 kB / 487.4 MB, free: 14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.862e-05/0.1736, allocations: 64.33 kB / 487.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1736, allocations: 0 / 487.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001256/0.1738, allocations: 71.33 kB / 487.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.13e-05/0.1738, allocations: 29.7 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1739, allocations: 0 / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1739, allocations: 4 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-06/0.1739, allocations: 3.938 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1739, allocations: 0 / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.174, allocations: 0 / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.174, allocations: 8.016 kB / 487.6 MB, free: 13.79 MB / 366.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.0001364/0.1741, allocations: 135.8 kB / 487.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.868e-05/0.1742, allocations: 3.938 kB / 487.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.504e-05/0.1742, allocations: 7.109 kB / 487.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1742, allocations: 0 / 487.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.1742, allocations: 3.938 kB / 487.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1742, allocations: 0 / 487.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1744, allocations: 145.7 kB / 487.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1744, allocations: 3.938 kB / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.01e-07/0.1744, allocations: 4 kB / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1744, allocations: 0 / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1745, allocations: 4 kB / 487.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.1745, allocations: 3.984 kB / 487.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1745, allocations: 4 kB / 487.9 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.1747, allocations: 82.84 kB / 488 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.1748, allocations: 92.97 kB / 488.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1748, allocations: 4.031 kB / 488.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.707e-05/0.1748, allocations: 4 kB / 488.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.1749, allocations: 0 / 488.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1749, allocations: 0 / 488.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.001e-05/0.1749, allocations: 75.28 kB / 488.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1749, allocations: 0 / 488.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001753/0.1767, allocations: 268 kB / 488.4 MB, free: 12.86 MB / 366.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.003057/0.1798, allocations: 417.5 kB / 488.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.18, allocations: 63.41 kB / 488.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.18, allocations: 0 / 488.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.931e-05/0.1801, allocations: 59.39 kB / 489 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.1803, allocations: 3.938 kB / 489 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.1806, allocations: 100.5 kB / 489.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.181, allocations: 0.6731 MB / 489.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.1811, allocations: 11.44 kB / 489.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1811, allocations: 0 / 489.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of Templates: time 0.02122/0.2023, allocations: 6.762 MB / 496.5 MB, free: 4.691 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches