Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.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) 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(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") translateModel(Modelica.Blocks.Examples.CompareSincExpSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sinc.y|expSine1.y|expSine2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine") [: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.001189/0.001189, allocations: 199.5 kB / 8.54 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 225.5 MB / 234.4 MB, free: 3.453 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008895/0.0008895, allocations: 87.92 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.365e-06/8.636e-06, allocations: 0 / 343.1 MB, free: 8.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 51.48 MB / 394.6 MB, free: 5.281 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3224/0.4283, allocations: 76.22 MB / 470.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.4286, allocations: 65.69 kB / 470.9 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.00482/0.4334, allocations: 1.345 MB / 472.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.4334, allocations: 0 / 472.2 MB, free: 14.25 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003897/0.4338, allocations: 370.5 kB / 472.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4339, allocations: 12.03 kB / 472.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003179/0.4342, allocations: 44.75 kB / 472.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.4344, allocations: 179.1 kB / 472.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.4344, allocations: 3.984 kB / 472.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.4344, allocations: 0 / 472.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001043/0.4345, allocations: 25.86 kB / 472.9 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.4346, allocations: 65.61 kB / 472.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4347, allocations: 0 / 472.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/0.4347, allocations: 8 kB / 472.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4347, allocations: 0 / 472.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.4349, allocations: 164.2 kB / 473.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.729e-05/0.435, allocations: 70.42 kB / 473.2 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.435, allocations: 30.02 kB / 473.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.4351, allocations: 0.75 kB / 473.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.4351, allocations: 42.44 kB / 473.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4351, allocations: 0 / 473.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001907/0.4353, allocations: 63.25 kB / 473.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.4353, allocations: 110.8 kB / 473.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.4354, allocations: 114.4 kB / 473.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.4355, allocations: 25.7 kB / 473.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.799e-05/0.4355, allocations: 87.42 kB / 473.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.4355, allocations: 18.84 kB / 473.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.4355, allocations: 0 / 473.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.4356, allocations: 317.7 kB / 474 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.733e-05/0.4356, allocations: 14.89 kB / 474 MB, free: 12.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.4357, allocations: 36.77 kB / 474 MB, free: 12.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.365e-05/0.4357, allocations: 11.75 kB / 474 MB, free: 12.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4357, allocations: 0 / 474 MB, free: 12.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001085/0.4358, allocations: 66.06 kB / 474.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.4358, allocations: 4 kB / 474.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4358, allocations: 7.5 kB / 474.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4359, allocations: 4.094 kB / 474.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.436, allocations: 26.62 kB / 474.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.436, allocations: 0 / 474.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.4362, allocations: 19.28 kB / 474.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.4362, allocations: 7.906 kB / 474.1 MB, free: 12.26 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.15e-05/0.4362, allocations: 104.9 kB / 474.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.4363, allocations: 7.906 kB / 474.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.4363, allocations: 13.89 kB / 474.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4363, allocations: 0 / 474.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.4363, allocations: 0 / 474.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.4363, allocations: 4 kB / 474.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.4365, allocations: 155 kB / 474.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4365, allocations: 4 kB / 474.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.4366, allocations: 19.47 kB / 474.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.4366, allocations: 4 kB / 474.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.4366, allocations: 3.422 kB / 474.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.4366, allocations: 0 / 474.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4366, allocations: 4 kB / 474.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000149/0.4368, allocations: 131.1 kB / 474.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.4368, allocations: 81.11 kB / 474.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.4369, allocations: 3.906 kB / 474.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.437, allocations: 19.47 kB / 474.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.437, allocations: 7.422 kB / 474.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.4371, allocations: 4.828 kB / 474.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.503e-05/0.4371, allocations: 98.42 kB / 474.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001957/0.4373, allocations: 11.94 kB / 474.8 MB, free: 11.58 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001306/0.4374, allocations: 102.6 kB / 474.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.4376, allocations: 38.36 kB / 474.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4376, allocations: 0 / 474.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.4376, allocations: 15.12 kB / 475 MB, free: 11.44 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.4377, allocations: 13.03 kB / 475 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.4382, allocations: 121.4 kB / 475.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.4384, allocations: 0.6979 MB / 475.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4384, allocations: 2.625 kB / 475.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of Templates: time 0.002583/0.441, allocations: 0.6734 MB / 476.5 MB, free: 10.23 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & ./Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches