Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations") translateModel(ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001622/0.001622, allocations: 196.2 kB / 8.54 MB, free: 1.738 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 93.89 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 45.14 MB / 383.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.116e-05/1.146e-05, allocations: 4 kB / 452.6 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1338, allocations: 63.25 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5714, allocations: 90.84 MB / 0.5925 GB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.5716, allocations: 62.66 kB / 0.5925 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03284/0.6045, allocations: 8.861 MB / 0.6012 GB, free: 4.469 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.6045, allocations: 0 / 0.6012 GB, free: 4.469 MB / 394.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.000898/0.6054, allocations: 397.9 kB / 0.6016 GB, free: 4.039 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.612e-05/0.6055, allocations: 8.031 kB / 0.6016 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.6056, allocations: 75.28 kB / 0.6017 GB, free: 3.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.6058, allocations: 238.4 kB / 0.6019 GB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.324e-05/0.6059, allocations: 150.6 kB / 0.602 GB, free: 3.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.372e-05/0.606, allocations: 150.6 kB / 0.6022 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001226/0.6062, allocations: 154.5 kB / 0.6023 GB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.6063, allocations: 112.1 kB / 0.6024 GB, free: 3.121 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.291e-05/0.6063, allocations: 75.28 kB / 0.6025 GB, free: 3.047 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.934e-05/0.6065, allocations: 154.6 kB / 0.6026 GB, free: 2.895 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.706e-05/0.6066, allocations: 150.6 kB / 0.6028 GB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.607, allocations: 422.5 kB / 0.6032 GB, free: 2.297 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.6072, allocations: 172.5 kB / 0.6033 GB, free: 2.121 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.6072, allocations: 88.14 kB / 0.6034 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.6073, allocations: 75.28 kB / 0.6035 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.058e-05/0.6073, allocations: 105.8 kB / 0.6036 GB, free: 1.844 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.887e-06/0.6074, allocations: 0 / 0.6036 GB, free: 1.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 9.459e-05/0.6075, allocations: 37.56 kB / 0.6036 GB, free: 1.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.6075, allocations: 77.11 kB / 0.6037 GB, free: 1.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.949e-05/0.6076, allocations: 85 kB / 0.6038 GB, free: 1.617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.6076, allocations: 29.7 kB / 0.6038 GB, free: 1.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.6077, allocations: 84.14 kB / 0.6039 GB, free: 1.496 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/0.6077, allocations: 0 / 0.6039 GB, free: 1.496 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/0.6077, allocations: 0 / 0.6039 GB, free: 1.496 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6078, allocations: 318.1 kB / 0.6042 GB, free: 1.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-06/0.6079, allocations: 3.938 kB / 0.6042 GB, free: 1.176 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.434e-05/0.6079, allocations: 0 / 0.6042 GB, free: 1.176 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.775e-05/0.6079, allocations: 79.27 kB / 0.6043 GB, free: 1.098 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.177e-05/0.608, allocations: 79.31 kB / 0.6044 GB, free: 1.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.478e-05/0.608, allocations: 29.7 kB / 0.6044 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6081, allocations: 4 kB / 0.6044 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-05/0.6081, allocations: 75.28 kB / 0.6045 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-05/0.6082, allocations: 162.5 kB / 0.6046 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.873e-05/0.6083, allocations: 75.28 kB / 0.6047 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.108e-05/0.6083, allocations: 150.6 kB / 0.6048 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.485e-05/0.6085, allocations: 83.22 kB / 0.6049 GB, free: 452 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.6085, allocations: 81.3 kB / 0.605 GB, free: 372 kB / 394.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.0001482/0.6087, allocations: 262.6 kB / 0.6052 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.078e-05/0.6087, allocations: 101 kB / 0.6053 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.763e-05/0.6088, allocations: 111.9 kB / 0.6054 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.831e-05/0.6089, allocations: 184.3 kB / 0.6056 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.026e-05/0.609, allocations: 176.3 kB / 0.6058 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.88e-05/0.6091, allocations: 184.2 kB / 0.606 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.6094, allocations: 377.5 kB / 0.6063 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.32e-05/0.6094, allocations: 101 kB / 0.6064 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.116e-05/0.6095, allocations: 108.9 kB / 0.6065 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.664e-05/0.6096, allocations: 188.2 kB / 0.6067 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.6096, allocations: 176.3 kB / 0.6069 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.071e-05/0.6097, allocations: 180.2 kB / 0.607 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.289e-05/0.6098, allocations: 180.3 kB / 0.6072 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001832/0.61, allocations: 306.8 kB / 0.6075 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.6101, allocations: 186.1 kB / 0.6077 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-05/0.6102, allocations: 176.3 kB / 0.6079 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-05/0.6103, allocations: 116.3 kB / 0.608 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.6103, allocations: 180.2 kB / 0.6081 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.6104, allocations: 105 kB / 0.6082 GB, free: 12.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.555e-05/0.6104, allocations: 79.28 kB / 0.6083 GB, free: 12.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008395/0.6113, allocations: 170.5 kB / 0.6085 GB, free: 12.59 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.0009894/0.6123, allocations: 380.1 kB / 0.6088 GB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.599e-05/0.6123, allocations: 4 kB / 0.6088 GB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6123, allocations: 0 / 0.6088 GB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.6123, allocations: 0 / 0.6088 GB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.6127, allocations: 0.5275 MB / 0.6094 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001588/0.6128, allocations: 123.3 kB / 0.6095 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.6131, allocations: 0.684 MB / 0.6101 GB, free: 10.83 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.6131, allocations: 0 / 0.6101 GB, free: 10.83 MB / 410.7 MB Notification: Performance of Templates: time 0.008079/0.6212, allocations: 3.685 MB / 0.6137 GB, free: 7.156 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Math.TestMatricesExamplesSolveLinearEquations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches