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.0009686/0.0009686, allocations: 95.92 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001166/0.001166, allocations: 200.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.7 MB / 247.5 MB, free: 11.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2031/0.2031, allocations: 46.19 MB / 345.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002695/0.0002695, allocations: 8 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1129, allocations: 63.55 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.000595/0.1135, allocations: 213.3 kB / 483.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003114/0.1167, allocations: 2.17 MB / 486.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.287e-05/0.1167, allocations: 4 kB / 486.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.1167, allocations: 0 / 486.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.188e-06/0.1167, allocations: 0 / 486.1 MB, free: 1.742 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.001854/0.1186, allocations: 0.6454 MB / 486.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.117e-05/0.1186, allocations: 3.984 kB / 486.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.533e-05/0.1187, allocations: 0 / 486.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.1187, allocations: 4 kB / 486.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.733e-05/0.1187, allocations: 3.938 kB / 486.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.919e-06/0.1187, allocations: 0 / 486.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.1208, allocations: 1.393 MB / 488.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.1208, allocations: 8 kB / 488.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.1209, allocations: 25.7 kB / 488.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.1223, allocations: 1.158 MB / 489.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1223, allocations: 0 / 489.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1223, allocations: 0 / 489.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1223, allocations: 0 / 489.3 MB, free: 14.5 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.0008094/0.1231, allocations: 413.2 kB / 489.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1232, allocations: 12.88 kB / 489.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.1232, allocations: 4.938 kB / 489.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.638e-05/0.1233, allocations: 168.3 kB / 489.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1233, allocations: 384 / 489.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.1233, allocations: 4.125 kB / 489.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.035e-05/0.1234, allocations: 29.7 kB / 490 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.1234, allocations: 0 / 490 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.1234, allocations: 4 kB / 490 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1234, allocations: 0 / 490 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.1235, allocations: 7.984 kB / 490 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.1236, allocations: 149.7 kB / 490.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.822e-05/0.1236, allocations: 18.52 kB / 490.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.1237, allocations: 12.89 kB / 490.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.1237, allocations: 0 / 490.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.1237, allocations: 64.25 kB / 490.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.1237, allocations: 0 / 490.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001572/0.1239, allocations: 63.39 kB / 490.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1239, allocations: 81.23 kB / 490.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.338e-05/0.124, allocations: 93.8 kB / 490.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.124, allocations: 25.7 kB / 490.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.124, allocations: 84.08 kB / 490.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.1241, allocations: 7.906 kB / 490.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.1241, allocations: 9.719 kB / 490.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1242, allocations: 314.8 kB / 490.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-06/0.1242, allocations: 3.938 kB / 490.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.033e-06/0.1243, allocations: 4 kB / 490.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.547e-05/0.1243, allocations: 64.25 kB / 490.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1243, allocations: 0 / 490.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.508e-05/0.1244, allocations: 63.34 kB / 491 MB, free: 12.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.1244, allocations: 33.7 kB / 491 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1245, allocations: 3.984 kB / 491 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1245, allocations: 4 kB / 491.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.1245, allocations: 3.938 kB / 491.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1245, allocations: 0 / 491.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.1245, allocations: 8.094 kB / 491.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.1245, allocations: 3.984 kB / 491.1 MB, free: 12.5 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 8.104e-05/0.1246, allocations: 139.8 kB / 491.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.016e-06/0.1246, allocations: 3.938 kB / 491.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.685e-06/0.1246, allocations: 3.125 kB / 491.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1246, allocations: 0 / 491.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1247, allocations: 0 / 491.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.1247, allocations: 0 / 491.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.058e-05/0.1248, allocations: 149.7 kB / 491.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1248, allocations: 7.938 kB / 491.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-07/0.1248, allocations: 0 / 491.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1248, allocations: 0 / 491.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.1248, allocations: 0 / 491.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1248, allocations: 0 / 491.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1248, allocations: 4 kB / 491.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.867e-05/0.1249, allocations: 86.83 kB / 491.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.204e-05/0.1249, allocations: 88.92 kB / 491.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.125, allocations: 8.031 kB / 491.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.125, allocations: 0 / 491.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.125, allocations: 4 kB / 491.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.125, allocations: 0 / 491.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.281e-05/0.125, allocations: 75.28 kB / 491.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.125, allocations: 0 / 491.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009511/0.126, allocations: 276 kB / 491.9 MB, free: 11.57 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.001467/0.1275, allocations: 409.9 kB / 492.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.188e-05/0.1276, allocations: 59.41 kB / 492.4 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.1276, allocations: 0 / 492.4 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.213e-05/0.1276, allocations: 59.41 kB / 492.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.1277, allocations: 3.938 kB / 492.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/0.1279, allocations: 108.4 kB / 492.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.1281, allocations: 0.6692 MB / 493.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.05e-05/0.1282, allocations: 11.38 kB / 493.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1282, allocations: 0 / 493.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of Templates: time 0.01115/0.1393, allocations: 6.75 MB / 500 MB, free: 3.418 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