Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices") translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001696/0.001696, allocations: 175.8 kB / 8.15 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 86.52 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2542/0.2542, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.963e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2676, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.4212, allocations: 85.5 MB / 0.5489 GB, free: 13.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.4215, allocations: 59.97 kB / 0.5489 GB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01328/0.4348, allocations: 2.488 MB / 0.5514 GB, free: 11.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.4349, allocations: 0 / 0.5514 GB, free: 11.01 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004196/0.4353, allocations: 380 kB / 0.5517 GB, free: 10.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4354, allocations: 8.031 kB / 0.5517 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.4354, allocations: 4 kB / 0.5517 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.4355, allocations: 159.1 kB / 0.5519 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4355, allocations: 3.938 kB / 0.5519 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.4356, allocations: 3.938 kB / 0.5519 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.185e-05/0.4356, allocations: 3.906 kB / 0.5519 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.382e-05/0.4357, allocations: 37.69 kB / 0.5519 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.4357, allocations: 0 / 0.5519 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.4357, allocations: 0 / 0.5519 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4358, allocations: 0 / 0.5519 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.4359, allocations: 122.2 kB / 0.552 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.024e-05/0.4359, allocations: 18.61 kB / 0.5521 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.436, allocations: 4.859 kB / 0.5521 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.436, allocations: 0 / 0.5521 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/0.4361, allocations: 72.19 kB / 0.5521 GB, free: 10.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/0.4361, allocations: 0 / 0.5521 GB, free: 10.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001504/0.4362, allocations: 33.67 kB / 0.5522 GB, free: 10.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.4363, allocations: 81.11 kB / 0.5522 GB, free: 9.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.336e-05/0.4363, allocations: 85 kB / 0.5523 GB, free: 9.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.4364, allocations: 25.7 kB / 0.5524 GB, free: 9.789 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.4364, allocations: 150.6 kB / 0.5525 GB, free: 9.641 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.4365, allocations: 32 / 0.5525 GB, free: 9.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.4365, allocations: 4 kB / 0.5525 GB, free: 9.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4366, allocations: 310.8 kB / 0.5528 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.071e-05/0.4366, allocations: 4 kB / 0.5528 GB, free: 9.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-06/0.4366, allocations: 6.406 kB / 0.5528 GB, free: 9.316 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.572e-05/0.4367, allocations: 3.984 kB / 0.5528 GB, free: 9.312 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4367, allocations: 0 / 0.5528 GB, free: 9.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.276e-05/0.4368, allocations: 33.64 kB / 0.5528 GB, free: 9.273 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4368, allocations: 8 kB / 0.5528 GB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4368, allocations: 8.031 kB / 0.5529 GB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4369, allocations: 3.906 kB / 0.5529 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.543e-06/0.4369, allocations: 0 / 0.5529 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.4369, allocations: 0 / 0.5529 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.4369, allocations: 0 / 0.5529 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.4369, allocations: 0 / 0.5529 GB, free: 9.254 MB / 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: 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.599e-05/0.437, allocations: 56.81 kB / 0.5529 GB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.437, allocations: 3.984 kB / 0.5529 GB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.433e-05/0.4371, allocations: 3 kB / 0.5529 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.4371, allocations: 4 kB / 0.5529 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4371, allocations: 0 / 0.5529 GB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.4371, allocations: 7.891 kB / 0.5529 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.581e-05/0.4372, allocations: 126.2 kB / 0.5531 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4372, allocations: 0 / 0.5531 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.4372, allocations: 0 / 0.5531 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4372, allocations: 0 / 0.5531 GB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.4373, allocations: 3.938 kB / 0.5531 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.4373, allocations: 7.984 kB / 0.5531 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4373, allocations: 0 / 0.5531 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000107/0.4374, allocations: 68.98 kB / 0.5531 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.4374, allocations: 77.11 kB / 0.5532 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.4375, allocations: 4 kB / 0.5532 GB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.519e-05/0.4375, allocations: 3.984 kB / 0.5532 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.4375, allocations: 0 / 0.5532 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.4375, allocations: 0 / 0.5532 GB, free: 8.805 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.49e-05/0.4376, allocations: 75.28 kB / 0.5533 GB, free: 8.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004353/0.438, allocations: 83.88 kB / 0.5534 GB, free: 8.648 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: 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.0006657/0.4387, allocations: 218.7 kB / 0.5536 GB, free: 8.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.402e-05/0.4388, allocations: 29.7 kB / 0.5536 GB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4388, allocations: 0 / 0.5536 GB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/0.4389, allocations: 37.7 kB / 0.5536 GB, free: 8.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.439, allocations: 3.906 kB / 0.5536 GB, free: 8.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001667/0.4391, allocations: 69.78 kB / 0.5537 GB, free: 8.254 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/0.4395, allocations: 0.6918 MB / 0.5544 GB, free: 7.535 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4395, allocations: 0 / 0.5544 GB, free: 7.535 MB / 394.7 MB Notification: Performance of Templates: time 0.004371/0.4439, allocations: 1.451 MB / 0.5558 GB, free: 6.086 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestMatrices/TestMatrices.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Math.TestMatrices.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches