Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009812/0.0009815, allocations: 172.2 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007746/0.0007746, allocations: 93.34 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3658/0.3658, allocations: 43.55 MB / 363.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004007, allocations: 15.98 kB / 432.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.133, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3921/0.5252, allocations: 88.74 MB / 0.5666 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.5255, allocations: 63.97 kB / 0.5667 GB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05371/0.5792, allocations: 22.39 MB / 0.5885 GB, free: 6.668 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5792, allocations: 0 / 0.5885 GB, free: 6.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.5792, allocations: 0 / 0.5885 GB, free: 6.668 MB / 410.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.0007032/0.58, allocations: 453.9 kB / 0.589 GB, free: 6.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.58, allocations: 8.031 kB / 0.589 GB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.5801, allocations: 0.9375 kB / 0.589 GB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.5802, allocations: 160.4 kB / 0.5891 GB, free: 5.965 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.5802, allocations: 4.375 kB / 0.5891 GB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.5802, allocations: 384 / 0.5891 GB, free: 5.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.5803, allocations: 30.2 kB / 0.5891 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5804, allocations: 192 / 0.5891 GB, free: 5.926 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.5804, allocations: 8.594 kB / 0.5892 GB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.5804, allocations: 4 kB / 0.5892 GB, free: 5.914 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.02e-05/0.5804, allocations: 3.984 kB / 0.5892 GB, free: 5.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.5806, allocations: 141.7 kB / 0.5893 GB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.517e-05/0.5806, allocations: 22.61 kB / 0.5893 GB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.5807, allocations: 4.859 kB / 0.5893 GB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.5807, allocations: 3.938 kB / 0.5893 GB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.5807, allocations: 59.55 kB / 0.5894 GB, free: 5.609 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.5807, allocations: 8.062 kB / 0.5894 GB, free: 5.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001934/0.5809, allocations: 71.3 kB / 0.5895 GB, free: 5.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.581, allocations: 81.11 kB / 0.5895 GB, free: 5.422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.744e-05/0.5811, allocations: 93.86 kB / 0.5896 GB, free: 5.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.5811, allocations: 25.7 kB / 0.5897 GB, free: 5.289 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.5811, allocations: 80.14 kB / 0.5897 GB, free: 5.207 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.5811, allocations: 2.031 kB / 0.5897 GB, free: 5.207 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.5812, allocations: 3.938 kB / 0.5897 GB, free: 5.203 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5813, allocations: 315 kB / 0.59 GB, free: 4.887 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-06/0.5813, allocations: 0 / 0.59 GB, free: 4.887 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-06/0.5813, allocations: 11.92 kB / 0.59 GB, free: 4.875 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.625e-05/0.5814, allocations: 60.27 kB / 0.5901 GB, free: 4.801 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5814, allocations: 0 / 0.5901 GB, free: 4.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.717e-05/0.5815, allocations: 59.41 kB / 0.5902 GB, free: 4.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.5815, allocations: 33.7 kB / 0.5902 GB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5815, allocations: 0 / 0.5902 GB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5816, allocations: 12.02 kB / 0.5902 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.994e-06/0.5816, allocations: 0 / 0.5902 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5816, allocations: 0 / 0.5902 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.328e-05/0.5816, allocations: 0 / 0.5902 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.5816, allocations: 0 / 0.5902 GB, free: 4.68 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.5817, allocations: 135.5 kB / 0.5903 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.5817, allocations: 0 / 0.5903 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.5818, allocations: 7.062 kB / 0.5903 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.5818, allocations: 3.938 kB / 0.5903 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5818, allocations: 8 kB / 0.5904 GB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5818, allocations: 0 / 0.5904 GB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.5819, allocations: 149.7 kB / 0.5905 GB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5819, allocations: 0 / 0.5905 GB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.5819, allocations: 0 / 0.5905 GB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5819, allocations: 4 kB / 0.5905 GB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.582, allocations: 7.938 kB / 0.5905 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.582, allocations: 0 / 0.5905 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.582, allocations: 0 / 0.5905 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.5821, allocations: 91.58 kB / 0.5906 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.5821, allocations: 81.11 kB / 0.5907 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.5822, allocations: 3.938 kB / 0.5907 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.5822, allocations: 0 / 0.5907 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.5822, allocations: 0 / 0.5907 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.5822, allocations: 3.984 kB / 0.5907 GB, free: 4.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.987e-05/0.5823, allocations: 79.28 kB / 0.5908 GB, free: 4.012 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5823, allocations: 0 / 0.5908 GB, free: 4.012 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006015/0.5829, allocations: 159.8 kB / 0.5909 GB, free: 3.855 MB / 410.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) * 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 (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.001037/0.5839, allocations: 353.7 kB / 0.5912 GB, free: 3.523 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.946e-05/0.584, allocations: 59.41 kB / 0.5913 GB, free: 3.453 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.584, allocations: 0 / 0.5913 GB, free: 3.453 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.749e-05/0.5841, allocations: 59.39 kB / 0.5914 GB, free: 3.383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.5842, allocations: 0 / 0.5914 GB, free: 3.383 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.5844, allocations: 81.48 kB / 0.5914 GB, free: 3.277 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.5847, allocations: 0.677 MB / 0.5921 GB, free: 2.574 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.713e-06/0.5848, allocations: 0 / 0.5921 GB, free: 2.574 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.499e-05/0.5848, allocations: 11.44 kB / 0.5921 GB, free: 2.566 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5848, allocations: 0 / 0.5921 GB, free: 2.566 MB / 410.7 MB Notification: Performance of Templates: time 0.009958/0.5947, allocations: 4.422 MB / 0.5964 GB, free: 14.15 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches