Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") [: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.001254/0.001254, allocations: 205.6 kB / 8.54 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 225.5 MB / 234.4 MB, free: 3.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009962/0.0009966, allocations: 93.92 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 45.15 MB / 383.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/7.073e-06, allocations: 0 / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1341, allocations: 63.25 MB / 0.5038 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3857/0.5198, allocations: 88.84 MB / 0.5905 GB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.5201, allocations: 63.22 kB / 0.5906 GB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01891/0.539, allocations: 7.079 MB / 0.5975 GB, free: 8.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.5391, allocations: 4 kB / 0.5975 GB, free: 8.426 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.0005179/0.5396, allocations: 424.4 kB / 0.5979 GB, free: 7.973 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.5396, allocations: 8.031 kB / 0.5979 GB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.5399, allocations: 91.2 kB / 0.598 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.54, allocations: 238.3 kB / 0.5982 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/0.5401, allocations: 158.5 kB / 0.5984 GB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.5402, allocations: 154.6 kB / 0.5985 GB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.733e-05/0.5402, allocations: 154.5 kB / 0.5987 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.398e-05/0.5403, allocations: 104.9 kB / 0.5988 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.5403, allocations: 75.28 kB / 0.5988 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.5404, allocations: 150.6 kB / 0.599 GB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-05/0.5405, allocations: 154.6 kB / 0.5991 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.5407, allocations: 430.4 kB / 0.5995 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.067e-05/0.5408, allocations: 169.1 kB / 0.5997 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.5409, allocations: 80.14 kB / 0.5998 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.5409, allocations: 79.28 kB / 0.5999 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.541, allocations: 109.8 kB / 0.6 GB, free: 5.758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.183e-06/0.541, allocations: 0 / 0.6 GB, free: 5.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.432e-05/0.5411, allocations: 29.7 kB / 0.6 GB, free: 5.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.5411, allocations: 102.8 kB / 0.6001 GB, free: 5.598 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.683e-05/0.5412, allocations: 85 kB / 0.6002 GB, free: 5.508 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.5412, allocations: 29.64 kB / 0.6002 GB, free: 5.473 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.5413, allocations: 84.27 kB / 0.6003 GB, free: 5.387 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-06/0.5413, allocations: 4 kB / 0.6003 GB, free: 5.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.81e-07/0.5413, allocations: 0 / 0.6003 GB, free: 5.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5414, allocations: 314.8 kB / 0.6006 GB, free: 5.066 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-06/0.5415, allocations: 0 / 0.6006 GB, free: 5.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.33e-05/0.5415, allocations: 13.7 kB / 0.6006 GB, free: 5.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.709e-05/0.5415, allocations: 79.28 kB / 0.6007 GB, free: 4.969 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.667e-05/0.5416, allocations: 83.19 kB / 0.6008 GB, free: 4.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.009e-05/0.5416, allocations: 29.64 kB / 0.6008 GB, free: 4.855 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.5417, allocations: 8 kB / 0.6008 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/0.5417, allocations: 79.22 kB / 0.6009 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.289e-05/0.5418, allocations: 150.6 kB / 0.601 GB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.607e-05/0.5418, allocations: 75.28 kB / 0.6011 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-05/0.5419, allocations: 158.5 kB / 0.6012 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.542, allocations: 85.48 kB / 0.6013 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.542, allocations: 83.28 kB / 0.6014 GB, free: 4.227 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: 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.0001233/0.5422, allocations: 259.5 kB / 0.6016 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.5422, allocations: 104.9 kB / 0.6017 GB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.678e-05/0.5423, allocations: 115.9 kB / 0.6019 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.048e-05/0.5424, allocations: 180.3 kB / 0.602 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-05/0.5425, allocations: 180.2 kB / 0.6022 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.947e-05/0.5425, allocations: 176.3 kB / 0.6024 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002168/0.5428, allocations: 385.7 kB / 0.6027 GB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-05/0.5428, allocations: 104.9 kB / 0.6028 GB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/0.5428, allocations: 105 kB / 0.6029 GB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.792e-05/0.5429, allocations: 176.3 kB / 0.6031 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/0.543, allocations: 184.1 kB / 0.6033 GB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-05/0.5431, allocations: 184.2 kB / 0.6034 GB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.297e-05/0.5431, allocations: 180.6 kB / 0.6036 GB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001827/0.5433, allocations: 307.8 kB / 0.6039 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.5434, allocations: 189.7 kB / 0.6041 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/0.5435, allocations: 184.2 kB / 0.6043 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.5436, allocations: 105 kB / 0.6044 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.5437, allocations: 188.3 kB / 0.6046 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.5438, allocations: 104.9 kB / 0.6047 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.981e-05/0.5438, allocations: 75.28 kB / 0.6047 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007018/0.5445, allocations: 176.4 kB / 0.6049 GB, free: 460 kB / 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: 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.001012/0.5455, allocations: 0.5435 MB / 0.6054 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.063e-05/0.5456, allocations: 4 kB / 0.6054 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5456, allocations: 0 / 0.6054 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.5456, allocations: 0 / 0.6054 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.5459, allocations: 0.5185 MB / 0.6059 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.5461, allocations: 123.2 kB / 0.606 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.5464, allocations: 0.6841 MB / 0.6067 GB, free: 14.56 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5464, allocations: 0 / 0.6067 GB, free: 14.56 MB / 410.7 MB Notification: Performance of Templates: time 0.006051/0.5524, allocations: 2.882 MB / 0.6095 GB, free: 11.7 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches