Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.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.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001347/0.001347, allocations: 184.3 kB / 15.76 MB, free: 6.367 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.709/1.709, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001043/0.001044, allocations: 98.73 kB / 270.2 MB, free: 13.36 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.26/0.26, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003732, allocations: 8 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4678/0.6078, allocations: 89.04 MB / 0.5657 GB, free: 10.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.6081, allocations: 56.67 kB / 0.5658 GB, free: 10.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02513/0.6333, allocations: 7.429 MB / 0.573 GB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.079e-06/0.6333, allocations: 0 / 0.573 GB, free: 4.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.6333, allocations: 7.188 kB / 0.573 GB, free: 4.234 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005285/0.6339, allocations: 399.1 kB / 0.5734 GB, free: 3.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.6339, allocations: 12.02 kB / 0.5734 GB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.634, allocations: 78.78 kB / 0.5735 GB, free: 3.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.6341, allocations: 234.4 kB / 0.5737 GB, free: 3.441 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/0.6342, allocations: 154.6 kB / 0.5738 GB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.334e-05/0.6343, allocations: 150.6 kB / 0.574 GB, free: 3.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.6344, allocations: 108.9 kB / 0.5741 GB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/0.6344, allocations: 75.28 kB / 0.5742 GB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-05/0.6345, allocations: 154.5 kB / 0.5743 GB, free: 2.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.057e-05/0.6346, allocations: 150.6 kB / 0.5745 GB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.922e-05/0.6347, allocations: 162.1 kB / 0.5746 GB, free: 2.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.6349, allocations: 438 kB / 0.575 GB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.6351, allocations: 173.7 kB / 0.5752 GB, free: 1.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.6351, allocations: 75.28 kB / 0.5753 GB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.162e-05/0.6352, allocations: 113.1 kB / 0.5754 GB, free: 1.648 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.6352, allocations: 0 / 0.5754 GB, free: 1.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 8.365e-05/0.6353, allocations: 33.59 kB / 0.5754 GB, free: 1.609 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.393e-05/0.6353, allocations: 156.4 kB / 0.5756 GB, free: 1.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.777e-05/0.6354, allocations: 89 kB / 0.5756 GB, free: 1.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.6354, allocations: 25.7 kB / 0.5757 GB, free: 1.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.6355, allocations: 80.14 kB / 0.5757 GB, free: 1.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.6355, allocations: 4 kB / 0.5757 GB, free: 1.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.6355, allocations: 0 / 0.5757 GB, free: 1.227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6356, allocations: 310.8 kB / 0.576 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-06/0.6356, allocations: 32 / 0.576 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.6357, allocations: 7.312 kB / 0.5761 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.532e-05/0.6357, allocations: 79.28 kB / 0.5761 GB, free: 0.832 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.034e-05/0.6357, allocations: 75.28 kB / 0.5762 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.044e-05/0.6358, allocations: 29.64 kB / 0.5762 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.6359, allocations: 86.75 kB / 0.5763 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/0.6359, allocations: 79.28 kB / 0.5764 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.21e-05/0.636, allocations: 157.3 kB / 0.5765 GB, free: 420 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.239e-05/0.636, allocations: 79.27 kB / 0.5766 GB, free: 340 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.434e-05/0.6361, allocations: 154.5 kB / 0.5768 GB, free: 184 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.39e-05/0.6362, allocations: 86.72 kB / 0.5768 GB, free: 100 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.6362, allocations: 79.28 kB / 0.5769 GB, free: 20 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001559/0.6364, allocations: 260.3 kB / 0.5772 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.6364, allocations: 108.9 kB / 0.5773 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.6365, allocations: 108.1 kB / 0.5774 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.819e-05/0.6366, allocations: 177.9 kB / 0.5775 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.801e-05/0.6367, allocations: 184.2 kB / 0.5777 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.621e-05/0.6367, allocations: 187 kB / 0.5779 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.637, allocations: 401.2 kB / 0.5783 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.376e-05/0.637, allocations: 105 kB / 0.5784 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.334e-05/0.6371, allocations: 101 kB / 0.5785 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.5e-05/0.6372, allocations: 191.7 kB / 0.5787 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.095e-05/0.6372, allocations: 180.3 kB / 0.5788 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.389e-05/0.6373, allocations: 184.2 kB / 0.579 GB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.116e-05/0.6374, allocations: 176.3 kB / 0.5792 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.6375, allocations: 311.3 kB / 0.5795 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.575e-05/0.6376, allocations: 186.1 kB / 0.5796 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.597e-05/0.6377, allocations: 184.2 kB / 0.5798 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.6378, allocations: 101 kB / 0.5799 GB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.6378, allocations: 184 kB / 0.5801 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.6379, allocations: 108.9 kB / 0.5802 GB, free: 12.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.998e-05/0.6379, allocations: 75.28 kB / 0.5803 GB, free: 12.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6379, allocations: 0 / 0.5803 GB, free: 12.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007189/0.6386, allocations: 183.7 kB / 0.5804 GB, free: 12.19 MB / 394.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0007963/0.6394, allocations: 369.5 kB / 0.5808 GB, free: 11.83 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.06e-05/0.6395, allocations: 8 kB / 0.5808 GB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6395, allocations: 0 / 0.5808 GB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.617e-06/0.6395, allocations: 3.938 kB / 0.5808 GB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.6399, allocations: 0.5205 MB / 0.5813 GB, free: 11.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.6401, allocations: 149.1 kB / 0.5815 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.6405, allocations: 0.677 MB / 0.5821 GB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.433e-05/0.6405, allocations: 4 kB / 0.5821 GB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.6405, allocations: 7.438 kB / 0.5821 GB, free: 10.41 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.6405, allocations: 0 / 0.5821 GB, free: 10.41 MB / 394.7 MB Notification: Performance of Templates: time 0.007947/0.6485, allocations: 3.697 MB / 0.5857 GB, free: 6.715 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches