Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Modulation.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.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Modulation") translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Modulation") [: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.001054/0.001054, allocations: 195.1 kB / 8.537 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.232/1.232, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008329/0.0008329, allocations: 100.3 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.125e-06/8.155e-06, allocations: 0 / 343.1 MB, free: 8.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 51.48 MB / 394.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3179/0.4305, allocations: 76.88 MB / 471.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.4308, allocations: 57.19 kB / 471.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.007744/0.4386, allocations: 2.612 MB / 474.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.4386, allocations: 11.98 kB / 474.2 MB, free: 13.26 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004933/0.4391, allocations: 449.4 kB / 474.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4392, allocations: 8.031 kB / 474.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.4394, allocations: 50.33 kB / 474.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.4397, allocations: 235.1 kB / 474.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4397, allocations: 4 kB / 474.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.4398, allocations: 11.91 kB / 474.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001533/0.4399, allocations: 63.45 kB / 475 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.4401, allocations: 132 kB / 475.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4401, allocations: 4 kB / 475.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.4402, allocations: 3.938 kB / 475.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.4402, allocations: 4 kB / 475.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008679/0.441, allocations: 0.5996 MB / 475.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.4412, allocations: 108.1 kB / 475.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.975e-05/0.4413, allocations: 40.14 kB / 475.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.4413, allocations: 0 / 475.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.4414, allocations: 41.56 kB / 475.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.4414, allocations: 0 / 475.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003249/0.4417, allocations: 119.2 kB / 476 MB, free: 11.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.4417, allocations: 106.8 kB / 476.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.4419, allocations: 160.3 kB / 476.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.4419, allocations: 25.7 kB / 476.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.4419, allocations: 115.8 kB / 476.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.442, allocations: 43.31 kB / 476.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-06/0.442, allocations: 0 / 476.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.4421, allocations: 332.5 kB / 476.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.4421, allocations: 25.88 kB / 476.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.4422, allocations: 83.72 kB / 476.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.145e-05/0.4423, allocations: 48.69 kB / 476.9 MB, free: 10.67 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4423, allocations: 4 kB / 476.9 MB, free: 10.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002014/0.4425, allocations: 141.6 kB / 477.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4425, allocations: 6.188 kB / 477.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4425, allocations: 4 kB / 477.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.4426, allocations: 7.422 kB / 477.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.4427, allocations: 36.27 kB / 477.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.4428, allocations: 11.12 kB / 477.1 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.4429, allocations: 11.94 kB / 477.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.4429, allocations: 11.28 kB / 477.2 MB, free: 10.49 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.122e-05/0.443, allocations: 104.9 kB / 477.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.4431, allocations: 21.22 kB / 477.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.4434, allocations: 147.4 kB / 477.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4434, allocations: 3.938 kB / 477.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4434, allocations: 6.062 kB / 477.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4434, allocations: 0 / 477.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003677/0.4438, allocations: 229.8 kB / 477.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4438, allocations: 7.281 kB / 477.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.444, allocations: 31.33 kB / 477.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.444, allocations: 4 kB / 477.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.444, allocations: 7.469 kB / 477.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.444, allocations: 4 kB / 477.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.444, allocations: 0 / 477.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003262/0.4444, allocations: 446.1 kB / 478.2 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.4444, allocations: 104.5 kB / 478.3 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.4444, allocations: 3.25 kB / 478.3 MB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.4446, allocations: 8 kB / 478.3 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.4447, allocations: 10.8 kB / 478.3 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.4447, allocations: 5.312 kB / 478.3 MB, free: 9.465 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.891e-05/0.4448, allocations: 132.7 kB / 478.4 MB, free: 9.363 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003495/0.4452, allocations: 35.84 kB / 478.4 MB, free: 9.328 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.000147/0.4453, allocations: 107.4 kB / 478.6 MB, free: 9.215 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.4455, allocations: 89.77 kB / 478.6 MB, free: 9.156 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4455, allocations: 7.109 kB / 478.6 MB, free: 9.156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.4456, allocations: 54.55 kB / 478.7 MB, free: 9.117 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.4458, allocations: 3.625 kB / 478.7 MB, free: 9.117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008966/0.4467, allocations: 0.5194 MB / 479.2 MB, free: 8.648 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.447, allocations: 0.7679 MB / 480 MB, free: 7.891 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.447, allocations: 4 kB / 480 MB, free: 7.887 MB / 346.7 MB Notification: Performance of Templates: time 0.003544/0.4506, allocations: 1.133 MB / 481.1 MB, free: 7.254 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches