Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002098/0.002098, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.2 MB / 219.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001097, allocations: 93.92 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2828/0.2828, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.638e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4942/0.6121, allocations: 86.24 MB / 0.557 GB, free: 1.375 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.6124, allocations: 64.97 kB / 0.5571 GB, free: 1.344 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01428/0.6267, allocations: 2.753 MB / 0.5598 GB, free: 14.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6268, allocations: 0 / 0.5598 GB, free: 14.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.6268, allocations: 0 / 0.5598 GB, free: 14.97 MB / 378.7 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.0004952/0.6273, allocations: 387.8 kB / 0.5601 GB, free: 14.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.6274, allocations: 8.031 kB / 0.5601 GB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.6274, allocations: 7.953 kB / 0.5601 GB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.6275, allocations: 164 kB / 0.5603 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.6276, allocations: 0 / 0.5603 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.6276, allocations: 0 / 0.5603 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.329e-05/0.6277, allocations: 29.7 kB / 0.5603 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.6277, allocations: 0 / 0.5603 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.6277, allocations: 0 / 0.5603 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.6277, allocations: 0 / 0.5603 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.614e-05/0.6278, allocations: 3.953 kB / 0.5603 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.6279, allocations: 157.4 kB / 0.5605 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.02e-05/0.628, allocations: 18.52 kB / 0.5605 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.628, allocations: 4.859 kB / 0.5605 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-06/0.628, allocations: 0 / 0.5605 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.6281, allocations: 64.33 kB / 0.5606 GB, free: 13.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/0.6281, allocations: 0 / 0.5606 GB, free: 13.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001799/0.6283, allocations: 66.97 kB / 0.5606 GB, free: 13.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.6284, allocations: 87.55 kB / 0.5607 GB, free: 13.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.824e-05/0.6284, allocations: 88.94 kB / 0.5608 GB, free: 13.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.6285, allocations: 25.7 kB / 0.5608 GB, free: 13.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.6285, allocations: 150.6 kB / 0.561 GB, free: 13.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.6286, allocations: 0 / 0.561 GB, free: 13.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.6286, allocations: 0 / 0.561 GB, free: 13.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6287, allocations: 314.8 kB / 0.5613 GB, free: 13.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.6287, allocations: 4 kB / 0.5613 GB, free: 13.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.6288, allocations: 4 kB / 0.5613 GB, free: 13.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.28e-05/0.6288, allocations: 25.7 kB / 0.5613 GB, free: 13.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6288, allocations: 0 / 0.5613 GB, free: 13.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.852e-05/0.6289, allocations: 67.08 kB / 0.5614 GB, free: 13.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.629, allocations: 33.7 kB / 0.5614 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.629, allocations: 0 / 0.5614 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.629, allocations: 3.938 kB / 0.5614 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.629, allocations: 0 / 0.5614 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.6291, allocations: 0 / 0.5614 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.6291, allocations: 4.094 kB / 0.5614 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.6291, allocations: 0 / 0.5614 GB, free: 13.05 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.6292, allocations: 145.1 kB / 0.5615 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.6293, allocations: 3.938 kB / 0.5615 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.641e-05/0.6293, allocations: 3.125 kB / 0.5615 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.6293, allocations: 0 / 0.5615 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6293, allocations: 0 / 0.5615 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.6293, allocations: 4 kB / 0.5615 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.6294, allocations: 145.6 kB / 0.5617 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.6295, allocations: 4 kB / 0.5617 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-06/0.6295, allocations: 3.984 kB / 0.5617 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.6295, allocations: 0 / 0.5617 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.6295, allocations: 3.562 kB / 0.5617 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6295, allocations: 4 kB / 0.5617 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6295, allocations: 0 / 0.5617 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.6297, allocations: 86.55 kB / 0.5618 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.6297, allocations: 85.09 kB / 0.5619 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.6297, allocations: 4.031 kB / 0.5619 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.229e-05/0.6298, allocations: 0 / 0.5619 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.6298, allocations: 0 / 0.5619 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.6298, allocations: 0 / 0.5619 GB, free: 12.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.433e-05/0.6299, allocations: 79.22 kB / 0.5619 GB, free: 12.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6299, allocations: 4 kB / 0.5619 GB, free: 12.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004912/0.6304, allocations: 83.86 kB / 0.562 GB, free: 12.3 MB / 378.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000633/0.631, allocations: 206.8 kB / 0.5622 GB, free: 12.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.6311, allocations: 62.78 kB / 0.5623 GB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6312, allocations: 64 / 0.5623 GB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.883e-05/0.6312, allocations: 59.41 kB / 0.5623 GB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.884e-05/0.6314, allocations: 3.953 kB / 0.5623 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001836/0.6315, allocations: 82.06 kB / 0.5624 GB, free: 11.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.6319, allocations: 0.677 MB / 0.5631 GB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.6319, allocations: 7.438 kB / 0.5631 GB, free: 11.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6319, allocations: 0 / 0.5631 GB, free: 11.14 MB / 378.7 MB Notification: Performance of Templates: time 0.004759/0.6367, allocations: 1.443 MB / 0.5645 GB, free: 9.695 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches