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.001187/0.001187, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.416/1.416, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008277/0.0008276, allocations: 89.14 kB / 267 MB, free: 9.281 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.3561/0.3561, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.552e-05, allocations: 4 kB / 425.3 MB, free: 8.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 58.85 MB / 484.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.4609, allocations: 88.59 MB / 0.5593 GB, free: 444 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.4612, allocations: 59.97 kB / 0.5594 GB, free: 384 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06454/0.5257, allocations: 25.7 MB / 0.5845 GB, free: 6.688 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5258, allocations: 0 / 0.5845 GB, free: 6.688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.5258, allocations: 4 kB / 0.5845 GB, free: 6.684 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.0006114/0.5264, allocations: 439.4 kB / 0.5849 GB, free: 6.207 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5265, allocations: 8.031 kB / 0.5849 GB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.5265, allocations: 0 / 0.5849 GB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.5266, allocations: 171.1 kB / 0.5851 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.5266, allocations: 0 / 0.5851 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.5266, allocations: 4 kB / 0.5851 GB, free: 5.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.876e-05/0.5267, allocations: 25.7 kB / 0.5851 GB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5267, allocations: 1.375 kB / 0.5851 GB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.5268, allocations: 0 / 0.5851 GB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.5268, allocations: 0 / 0.5851 GB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.952e-05/0.5268, allocations: 7.938 kB / 0.5851 GB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.5269, allocations: 145.6 kB / 0.5852 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.896e-05/0.527, allocations: 26.59 kB / 0.5853 GB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.368e-05/0.527, allocations: 8.859 kB / 0.5853 GB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.527, allocations: 0 / 0.5853 GB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.527, allocations: 56.27 kB / 0.5853 GB, free: 5.641 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.527, allocations: 0 / 0.5853 GB, free: 5.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001557/0.5272, allocations: 63.41 kB / 0.5854 GB, free: 5.566 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.5273, allocations: 81.14 kB / 0.5855 GB, free: 5.469 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.895e-05/0.5273, allocations: 88.98 kB / 0.5855 GB, free: 5.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.5273, allocations: 25.7 kB / 0.5856 GB, free: 5.344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.16e-05/0.5274, allocations: 80.14 kB / 0.5856 GB, free: 5.262 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.5274, allocations: 6.344 kB / 0.5856 GB, free: 5.258 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.5274, allocations: 7.938 kB / 0.5857 GB, free: 5.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5275, allocations: 314.8 kB / 0.586 GB, free: 4.934 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-06/0.5275, allocations: 0 / 0.586 GB, free: 4.934 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-06/0.5275, allocations: 0 / 0.586 GB, free: 4.934 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.678e-05/0.5276, allocations: 33.77 kB / 0.586 GB, free: 4.895 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5276, allocations: 0 / 0.586 GB, free: 4.895 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.646e-05/0.5276, allocations: 59.41 kB / 0.586 GB, free: 4.824 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.5277, allocations: 34.31 kB / 0.5861 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.5277, allocations: 3.938 kB / 0.5861 GB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5277, allocations: 3.984 kB / 0.5861 GB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.5277, allocations: 2.344 kB / 0.5861 GB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5277, allocations: 0 / 0.5861 GB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.48e-05/0.5277, allocations: 8 kB / 0.5861 GB, free: 4.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.5277, allocations: 4.031 kB / 0.5861 GB, free: 4.766 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 () * 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 7.271e-05/0.5278, allocations: 134.6 kB / 0.5862 GB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/0.5278, allocations: 4 kB / 0.5862 GB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.5279, allocations: 3.125 kB / 0.5862 GB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.5279, allocations: 0 / 0.5862 GB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5279, allocations: 0 / 0.5862 GB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.5279, allocations: 3.984 kB / 0.5862 GB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.734e-05/0.528, allocations: 145.6 kB / 0.5864 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.528, allocations: 0 / 0.5864 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.528, allocations: 0 / 0.5864 GB, free: 4.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.528, allocations: 8 kB / 0.5864 GB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.528, allocations: 0 / 0.5864 GB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.528, allocations: 0 / 0.5864 GB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.528, allocations: 0 / 0.5864 GB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.745e-05/0.5281, allocations: 94.77 kB / 0.5865 GB, free: 4.297 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-05/0.5282, allocations: 81.06 kB / 0.5866 GB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.5282, allocations: 0 / 0.5866 GB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.516e-06/0.5282, allocations: 4.031 kB / 0.5866 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.5282, allocations: 7.984 kB / 0.5866 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.5282, allocations: 0 / 0.5866 GB, free: 4.188 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.469e-05/0.5283, allocations: 75.28 kB / 0.5866 GB, free: 4.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5283, allocations: 0 / 0.5866 GB, free: 4.113 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004711/0.5287, allocations: 161.2 kB / 0.5868 GB, free: 3.957 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) * 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.0008238/0.5296, allocations: 345.7 kB / 0.5871 GB, free: 3.633 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.557e-05/0.5297, allocations: 67.41 kB / 0.5872 GB, free: 3.555 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5297, allocations: 0 / 0.5872 GB, free: 3.555 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.181e-05/0.5297, allocations: 55.34 kB / 0.5872 GB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.271e-05/0.5298, allocations: 11.42 kB / 0.5872 GB, free: 3.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001316/0.5299, allocations: 41.56 kB / 0.5873 GB, free: 3.418 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.5301, allocations: 0.6731 MB / 0.5879 GB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.823e-06/0.5302, allocations: 3.984 kB / 0.5879 GB, free: 2.715 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.046e-05/0.5302, allocations: 7.438 kB / 0.588 GB, free: 2.707 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5302, allocations: 0 / 0.588 GB, free: 2.707 MB / 410.7 MB Notification: Performance of Templates: time 0.007488/0.5377, allocations: 4.549 MB / 0.5924 GB, free: 14.16 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/jenkins/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