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.001807/0.001808, allocations: 114.7 kB / 17.98 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002643/0.002643, allocations: 201.8 kB / 18.92 MB, free: 4.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.764/2.764, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.623/0.623, allocations: 46.1 MB / 344.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002586/0.002586, allocations: 79.62 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2455, allocations: 62.44 MB / 480.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.008778/0.2544, allocations: 0.5438 MB / 480.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004992/0.2594, allocations: 2.141 MB / 482.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.2595, allocations: 0 / 482.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.2595, allocations: 0 / 482.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.426e-06/0.2596, allocations: 4 kB / 482.8 MB, free: 2.902 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.002988/0.2626, allocations: 0.669 MB / 483.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.63e-05/0.2627, allocations: 12 kB / 483.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.856e-05/0.2628, allocations: 0 / 483.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.167e-05/0.2628, allocations: 3.938 kB / 483.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.85e-05/0.2628, allocations: 3.984 kB / 483.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.204e-06/0.2629, allocations: 0 / 483.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.2654, allocations: 1.412 MB / 484.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.2655, allocations: 0 / 484.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.2655, allocations: 0 / 484.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.2672, allocations: 1.166 MB / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2672, allocations: 0 / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.2672, allocations: 0 / 486.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.2673, allocations: 0 / 486.1 MB, free: 15.63 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.0008713/0.2681, allocations: 417.1 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.2682, allocations: 16.02 kB / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.2683, allocations: 0.9375 kB / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.2684, allocations: 160.4 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.2685, allocations: 384 / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2685, allocations: 4.125 kB / 486.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.2686, allocations: 37.58 kB / 486.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2686, allocations: 0 / 486.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2687, allocations: 0 / 486.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.2687, allocations: 0 / 486.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.703e-05/0.2687, allocations: 8 kB / 486.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.2689, allocations: 149.7 kB / 486.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.643e-05/0.269, allocations: 14.58 kB / 486.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.269, allocations: 12.89 kB / 486.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.2691, allocations: 0 / 486.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.445e-05/0.2691, allocations: 60.2 kB / 487 MB, free: 14.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.2691, allocations: 0 / 487 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002477/0.2694, allocations: 71.39 kB / 487 MB, free: 14.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.2695, allocations: 77.11 kB / 487.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.786e-05/0.2696, allocations: 89.86 kB / 487.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.2696, allocations: 25.7 kB / 487.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.2696, allocations: 80.14 kB / 487.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.2697, allocations: 7.906 kB / 487.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.2697, allocations: 17.66 kB / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2699, allocations: 315 kB / 487.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.2699, allocations: 7.984 kB / 487.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.2699, allocations: 4 kB / 487.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.905e-05/0.27, allocations: 64.2 kB / 487.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.27, allocations: 0 / 487.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001175/0.2702, allocations: 63.34 kB / 487.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/0.2702, allocations: 40.03 kB / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2702, allocations: 0 / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2703, allocations: 96 / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-06/0.2703, allocations: 4 kB / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2703, allocations: 0 / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.2703, allocations: 0 / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.2704, allocations: 4 kB / 487.8 MB, free: 13.65 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.0001198/0.2705, allocations: 131.8 kB / 487.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.2705, allocations: 3.938 kB / 487.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.2705, allocations: 7.109 kB / 487.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2705, allocations: 4 kB / 488 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2706, allocations: 0 / 488 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2706, allocations: 4 kB / 488 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.2707, allocations: 149.6 kB / 488.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2708, allocations: 3.938 kB / 488.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.2708, allocations: 0 / 488.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2708, allocations: 0 / 488.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2708, allocations: 4 kB / 488.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2708, allocations: 3.938 kB / 488.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2708, allocations: 0 / 488.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.271, allocations: 94.83 kB / 488.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.055e-05/0.271, allocations: 84.98 kB / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.2711, allocations: 0 / 488.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.519e-05/0.2711, allocations: 4 kB / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.2711, allocations: 3.984 kB / 488.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.2712, allocations: 4 kB / 488.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.098e-05/0.2712, allocations: 79.28 kB / 488.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2712, allocations: 0 / 488.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001542/0.2728, allocations: 275.9 kB / 488.6 MB, free: 12.71 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.002202/0.275, allocations: 414.7 kB / 489.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.2752, allocations: 55.41 kB / 489.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.2752, allocations: 4 kB / 489.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.979e-05/0.2752, allocations: 55.41 kB / 489.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.2755, allocations: 11.92 kB / 489.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.2758, allocations: 102.7 kB / 489.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.2762, allocations: 0.6769 MB / 490 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.2762, allocations: 7.438 kB / 490 MB, free: 11.31 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2763, allocations: 0 / 490 MB, free: 11.31 MB / 366.1 MB Notification: Performance of Templates: time 0.01948/0.2957, allocations: 6.761 MB / 496.7 MB, free: 4.539 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