Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009122/0.0009124, allocations: 97.34 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.209/0.209, allocations: 44.15 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.755e-05/1.757e-05, allocations: 4 kB / 444.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1356, allocations: 61.91 MB / 0.4947 GB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4824/0.6181, allocations: 89.75 MB / 0.5823 GB, free: 6.816 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.6184, allocations: 55.98 kB / 0.5824 GB, free: 6.762 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02537/0.6437, allocations: 7.453 MB / 0.5896 GB, free: 15.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6438, allocations: 0 / 0.5896 GB, free: 15.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.6438, allocations: 0 / 0.5896 GB, free: 15.31 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004833/0.6443, allocations: 384.6 kB / 0.59 GB, free: 14.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.6444, allocations: 19.98 kB / 0.59 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.6444, allocations: 79.23 kB / 0.5901 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.6445, allocations: 238.4 kB / 0.5903 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.6446, allocations: 150.6 kB / 0.5905 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.6447, allocations: 150.6 kB / 0.5906 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.891e-05/0.6447, allocations: 154.5 kB / 0.5908 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.773e-05/0.6448, allocations: 105 kB / 0.5909 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.6448, allocations: 79.28 kB / 0.5909 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.305e-05/0.6449, allocations: 150.6 kB / 0.5911 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-05/0.6449, allocations: 154.5 kB / 0.5912 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.6452, allocations: 430.5 kB / 0.5916 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.412e-05/0.6453, allocations: 173.1 kB / 0.5918 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.6453, allocations: 80.14 kB / 0.5919 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.6453, allocations: 75.28 kB / 0.592 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.6454, allocations: 109.8 kB / 0.5921 GB, free: 12.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.6454, allocations: 0 / 0.5921 GB, free: 12.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.089e-05/0.6455, allocations: 25.7 kB / 0.5921 GB, free: 12.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.6455, allocations: 81.11 kB / 0.5922 GB, free: 12.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.943e-05/0.6456, allocations: 85 kB / 0.5922 GB, free: 12.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.6456, allocations: 25.7 kB / 0.5923 GB, free: 12.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.6456, allocations: 88.08 kB / 0.5924 GB, free: 12.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-06/0.6456, allocations: 0 / 0.5924 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-07/0.6456, allocations: 4 kB / 0.5924 GB, free: 12.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6458, allocations: 318.8 kB / 0.5927 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/0.6458, allocations: 3.938 kB / 0.5927 GB, free: 12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.342e-05/0.6458, allocations: 4 kB / 0.5927 GB, free: 12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.6458, allocations: 75.28 kB / 0.5927 GB, free: 11.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.391e-05/0.6459, allocations: 75.28 kB / 0.5928 GB, free: 11.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.453e-05/0.6459, allocations: 30.45 kB / 0.5928 GB, free: 11.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.646, allocations: 79.28 kB / 0.5929 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.842e-05/0.646, allocations: 79.27 kB / 0.593 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.536e-05/0.6461, allocations: 154.5 kB / 0.5931 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.781e-05/0.6461, allocations: 83.31 kB / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.046e-05/0.6462, allocations: 154.5 kB / 0.5934 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.6462, allocations: 79.22 kB / 0.5934 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.6463, allocations: 75.28 kB / 0.5935 GB, free: 11.12 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: 0 () * Number of discrete 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.0001201/0.6464, allocations: 267.4 kB / 0.5938 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.6464, allocations: 109 kB / 0.5939 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.6465, allocations: 112.7 kB / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.665e-05/0.6466, allocations: 180.2 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.612e-05/0.6467, allocations: 180.3 kB / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.712e-05/0.6467, allocations: 180.2 kB / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.6469, allocations: 373.8 kB / 0.5949 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/0.6469, allocations: 106.4 kB / 0.595 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-05/0.647, allocations: 120.9 kB / 0.5951 GB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.873e-05/0.6471, allocations: 176.3 kB / 0.5952 GB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/0.6471, allocations: 176.3 kB / 0.5954 GB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-05/0.6472, allocations: 180.2 kB / 0.5956 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.011e-05/0.6472, allocations: 176.3 kB / 0.5957 GB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.6474, allocations: 311.8 kB / 0.596 GB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.6475, allocations: 182.1 kB / 0.5962 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/0.6475, allocations: 180.2 kB / 0.5964 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.6476, allocations: 108.9 kB / 0.5965 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.6477, allocations: 184.7 kB / 0.5967 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.6477, allocations: 105 kB / 0.5968 GB, free: 7.574 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.38e-05/0.6477, allocations: 75.28 kB / 0.5968 GB, free: 7.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6477, allocations: 7.875 kB / 0.5968 GB, free: 7.492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006989/0.6485, allocations: 179.7 kB / 0.597 GB, free: 7.316 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: 0 () * Number of discrete 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.0007757/0.6492, allocations: 386 kB / 0.5974 GB, free: 6.941 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.032e-05/0.6493, allocations: 0 / 0.5974 GB, free: 6.941 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6493, allocations: 0 / 0.5974 GB, free: 6.941 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.6493, allocations: 4 kB / 0.5974 GB, free: 6.938 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.6496, allocations: 0.5263 MB / 0.5979 GB, free: 6.406 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001512/0.6498, allocations: 115.4 kB / 0.598 GB, free: 6.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.6501, allocations: 0.6729 MB / 0.5987 GB, free: 5.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.077e-05/0.6501, allocations: 3.984 kB / 0.5987 GB, free: 5.566 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.6501, allocations: 7.438 kB / 0.5987 GB, free: 5.559 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6501, allocations: 4 kB / 0.5987 GB, free: 5.555 MB / 410.7 MB Notification: Performance of Templates: time 0.007041/0.6572, allocations: 3.649 MB / 0.6023 GB, free: 1.902 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatricesExamplesSolveLinearEquations/TestMatricesExamplesSolveLinearEquations.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches