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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009512/0.0009512, allocations: 180.5 kB / 8.52 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.4 MB / 230.3 MB, free: 7.688 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.001054/0.001054, allocations: 91.34 kB / 281.2 MB, free: 5.477 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.2046/0.2046, allocations: 44.15 MB / 376.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.257e-06/9.287e-06, allocations: 4 kB / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1226, allocations: 61.9 MB / 0.4941 GB, free: 1.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3688/0.4914, allocations: 89.69 MB / 0.5817 GB, free: 7.078 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.4917, allocations: 59.97 kB / 0.5817 GB, free: 7.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03023/0.522, allocations: 8.789 MB / 0.5903 GB, free: 14.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.522, allocations: 0 / 0.5903 GB, free: 14.23 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.0005533/0.5226, allocations: 394.2 kB / 0.5907 GB, free: 13.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/0.5226, allocations: 13.47 kB / 0.5907 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.892e-05/0.5227, allocations: 79.28 kB / 0.5908 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.5228, allocations: 238.3 kB / 0.591 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/0.5229, allocations: 154.6 kB / 0.5911 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.099e-05/0.523, allocations: 150.6 kB / 0.5913 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.2e-05/0.523, allocations: 158.6 kB / 0.5914 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.507e-05/0.5231, allocations: 104.9 kB / 0.5915 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.269e-05/0.5232, allocations: 79.19 kB / 0.5916 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.838e-05/0.5232, allocations: 150.6 kB / 0.5918 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-05/0.5233, allocations: 150.6 kB / 0.5919 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.5235, allocations: 426.5 kB / 0.5923 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.382e-05/0.5236, allocations: 173.1 kB / 0.5925 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.5237, allocations: 80.14 kB / 0.5925 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.5237, allocations: 75.28 kB / 0.5926 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.5238, allocations: 105.8 kB / 0.5927 GB, free: 11.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.5238, allocations: 7.938 kB / 0.5927 GB, free: 11.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 7.582e-05/0.5238, allocations: 29.7 kB / 0.5928 GB, free: 11.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.5239, allocations: 77.11 kB / 0.5928 GB, free: 11.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.899e-05/0.5239, allocations: 85 kB / 0.5929 GB, free: 11.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.524, allocations: 25.7 kB / 0.5929 GB, free: 11.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.524, allocations: 80.14 kB / 0.593 GB, free: 11.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.524, allocations: 0 / 0.593 GB, free: 11.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-07/0.524, allocations: 3.938 kB / 0.593 GB, free: 11.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5241, allocations: 314.8 kB / 0.5933 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-06/0.5241, allocations: 4 kB / 0.5933 GB, free: 10.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.047e-05/0.5242, allocations: 0 / 0.5933 GB, free: 10.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.567e-05/0.5242, allocations: 79.28 kB / 0.5934 GB, free: 10.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-05/0.5243, allocations: 79.28 kB / 0.5935 GB, free: 10.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.678e-05/0.5243, allocations: 33.62 kB / 0.5935 GB, free: 10.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.5243, allocations: 8 kB / 0.5935 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/0.5244, allocations: 76.03 kB / 0.5936 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.09e-05/0.5244, allocations: 154.6 kB / 0.5937 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.169e-05/0.5245, allocations: 79.22 kB / 0.5938 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-05/0.5246, allocations: 150.6 kB / 0.5939 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.5246, allocations: 79.28 kB / 0.594 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.5247, allocations: 79.22 kB / 0.5941 GB, free: 10.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.0001155/0.5248, allocations: 259.4 kB / 0.5943 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.5249, allocations: 111 kB / 0.5944 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.5249, allocations: 115.8 kB / 0.5946 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.19e-05/0.525, allocations: 184.2 kB / 0.5947 GB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.218e-05/0.5251, allocations: 176.3 kB / 0.5949 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.708e-05/0.5251, allocations: 184.2 kB / 0.5951 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.5253, allocations: 385.7 kB / 0.5954 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/0.5253, allocations: 101 kB / 0.5955 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.5254, allocations: 101 kB / 0.5956 GB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.974e-05/0.5254, allocations: 180.2 kB / 0.5958 GB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-05/0.5255, allocations: 188.2 kB / 0.596 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.594e-05/0.5256, allocations: 176.3 kB / 0.5962 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-05/0.5256, allocations: 188.2 kB / 0.5963 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001208/0.5258, allocations: 296.2 kB / 0.5966 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.619e-05/0.5258, allocations: 190 kB / 0.5968 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/0.5259, allocations: 176.3 kB / 0.597 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.952e-05/0.526, allocations: 117 kB / 0.5971 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.5261, allocations: 184.1 kB / 0.5973 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.5261, allocations: 105 kB / 0.5974 GB, free: 6.566 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.845e-05/0.5262, allocations: 75.28 kB / 0.5974 GB, free: 6.492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006874/0.5269, allocations: 179.7 kB / 0.5976 GB, free: 6.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.0008296/0.5277, allocations: 381.3 kB / 0.598 GB, free: 5.941 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.459e-05/0.5278, allocations: 7.938 kB / 0.598 GB, free: 5.934 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5278, allocations: 4 kB / 0.598 GB, free: 5.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.5278, allocations: 0 / 0.598 GB, free: 5.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.5281, allocations: 0.5185 MB / 0.5985 GB, free: 5.406 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001234/0.5282, allocations: 119.3 kB / 0.5986 GB, free: 5.266 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.5284, allocations: 0.6763 MB / 0.5993 GB, free: 4.562 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5285, allocations: 4 kB / 0.5993 GB, free: 4.559 MB / 410.7 MB Notification: Performance of Templates: time 0.006549/0.535, allocations: 3.678 MB / 0.6029 GB, free: 0.8789 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