Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.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.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings") [: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.001466/0.001466, allocations: 182.9 kB / 8.518 MB, free: 1.777 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.237/1.237, allocations: 221.4 MB / 230.3 MB, free: 7.723 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.0009182/0.0009183, allocations: 92.72 kB / 281.2 MB, free: 5.465 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.1778/0.1778, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.792e-06/6.832e-06, allocations: 4.219 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 61.91 MB / 0.4941 GB, free: 1.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.4987, allocations: 88.41 MB / 0.5804 GB, free: 8.438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.499, allocations: 60.62 kB / 0.5805 GB, free: 8.379 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04262/0.5417, allocations: 16.95 MB / 0.597 GB, free: 7.418 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.5417, allocations: 7.875 kB / 0.597 GB, free: 7.41 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007241/0.5424, allocations: 472 kB / 0.5975 GB, free: 6.898 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.5425, allocations: 19.97 kB / 0.5975 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.5425, allocations: 0 / 0.5975 GB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.5426, allocations: 171 kB / 0.5977 GB, free: 6.672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.5427, allocations: 4 kB / 0.5977 GB, free: 6.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.5427, allocations: 0 / 0.5977 GB, free: 6.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.015e-05/0.5427, allocations: 7.906 kB / 0.5977 GB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.845e-05/0.5428, allocations: 25.7 kB / 0.5977 GB, free: 6.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.5428, allocations: 0 / 0.5977 GB, free: 6.629 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.5428, allocations: 0 / 0.5977 GB, free: 6.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.5428, allocations: 0 / 0.5977 GB, free: 6.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.5429, allocations: 134.2 kB / 0.5978 GB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.261e-05/0.543, allocations: 18.56 kB / 0.5978 GB, free: 6.434 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.553e-05/0.543, allocations: 8.797 kB / 0.5979 GB, free: 6.422 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-06/0.543, allocations: 0 / 0.5979 GB, free: 6.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.5431, allocations: 64.34 kB / 0.5979 GB, free: 6.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.5431, allocations: 0 / 0.5979 GB, free: 6.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001559/0.5432, allocations: 33.61 kB / 0.598 GB, free: 6.305 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.5433, allocations: 81.14 kB / 0.598 GB, free: 6.207 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.537e-05/0.5433, allocations: 85 kB / 0.5981 GB, free: 6.117 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.5434, allocations: 25.7 kB / 0.5981 GB, free: 6.086 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.5434, allocations: 84.14 kB / 0.5982 GB, free: 6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.5434, allocations: 0 / 0.5982 GB, free: 6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.5434, allocations: 0 / 0.5982 GB, free: 6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5436, allocations: 318.8 kB / 0.5985 GB, free: 5.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-06/0.5436, allocations: 0 / 0.5985 GB, free: 5.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-06/0.5436, allocations: 7.938 kB / 0.5985 GB, free: 5.672 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.5436, allocations: 0 / 0.5985 GB, free: 5.672 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5436, allocations: 0 / 0.5985 GB, free: 5.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.599e-05/0.5437, allocations: 41.62 kB / 0.5986 GB, free: 5.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5437, allocations: 4 kB / 0.5986 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.5437, allocations: 0 / 0.5986 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.5438, allocations: 4.75 kB / 0.5986 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.5438, allocations: 0 / 0.5986 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5438, allocations: 3.984 kB / 0.5986 GB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.5438, allocations: 4.078 kB / 0.5986 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.5438, allocations: 8 kB / 0.5986 GB, free: 5.602 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: 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 9.465e-05/0.5439, allocations: 126.7 kB / 0.5987 GB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.5439, allocations: 0 / 0.5987 GB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.76e-05/0.5439, allocations: 6.953 kB / 0.5987 GB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.5439, allocations: 0 / 0.5987 GB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.544, allocations: 11.84 kB / 0.5987 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.544, allocations: 0 / 0.5987 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.516e-05/0.544, allocations: 130.2 kB / 0.5989 GB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5441, allocations: 0 / 0.5989 GB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-07/0.5441, allocations: 4 kB / 0.5989 GB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.5441, allocations: 0 / 0.5989 GB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.5441, allocations: 4 kB / 0.5989 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.5441, allocations: 0 / 0.5989 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5441, allocations: 0 / 0.5989 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.477e-05/0.5442, allocations: 60.97 kB / 0.5989 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.5442, allocations: 81.11 kB / 0.599 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.5443, allocations: 0 / 0.599 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-06/0.5443, allocations: 4.031 kB / 0.599 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.5443, allocations: 4 kB / 0.599 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.5443, allocations: 4 kB / 0.599 GB, free: 5.086 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.652e-05/0.5443, allocations: 79.28 kB / 0.5991 GB, free: 5.008 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004706/0.5448, allocations: 139.9 kB / 0.5992 GB, free: 4.871 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: 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.0009676/0.5458, allocations: 493 kB / 0.5997 GB, free: 4.441 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.52e-05/0.5459, allocations: 29.7 kB / 0.5997 GB, free: 4.406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5459, allocations: 0 / 0.5997 GB, free: 4.406 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.425e-05/0.5459, allocations: 37.64 kB / 0.5997 GB, free: 4.363 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.546, allocations: 4.031 kB / 0.5998 GB, free: 4.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001394/0.5462, allocations: 44.08 kB / 0.5998 GB, free: 4.293 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.5465, allocations: 0.688 MB / 0.6005 GB, free: 3.578 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5465, allocations: 0 / 0.6005 GB, free: 3.578 MB / 410.7 MB Notification: Performance of Templates: time 0.00566/0.5522, allocations: 2.778 MB / 0.6032 GB, free: 0.7969 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStrings/TestStrings.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStrings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches