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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 202.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007737/0.0007737, allocations: 90.52 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003254, allocations: 11.98 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2573, allocations: 51.28 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09681/0.3541, allocations: 77.61 MB / 487 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.3544, allocations: 65.72 kB / 487 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008341/0.3627, allocations: 2.954 MB / 490 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3628, allocations: 0 / 490 MB, free: 10.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.3628, allocations: 4 kB / 490 MB, free: 10.89 MB / 362.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.0005444/0.3633, allocations: 474.6 kB / 490.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3634, allocations: 8.031 kB / 490.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.3636, allocations: 52.56 kB / 490.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3639, allocations: 247.7 kB / 490.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3639, allocations: 12.38 kB / 490.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.3639, allocations: 16.38 kB / 490.8 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.3642, allocations: 164.7 kB / 491 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3643, allocations: 192 / 491 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.3643, allocations: 7.938 kB / 491 MB, free: 9.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3643, allocations: 4 kB / 491 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.3645, allocations: 95.95 kB / 491.1 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009943/0.3655, allocations: 0.6527 MB / 491.7 MB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.3658, allocations: 131.8 kB / 491.8 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3659, allocations: 58.67 kB / 491.9 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.3659, allocations: 11.88 kB / 491.9 MB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.366, allocations: 38.56 kB / 491.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.366, allocations: 0 / 491.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004669/0.3665, allocations: 185.8 kB / 492.1 MB, free: 8.543 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.3665, allocations: 110.9 kB / 492.2 MB, free: 8.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.3668, allocations: 229 kB / 492.5 MB, free: 8.176 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3668, allocations: 29.64 kB / 492.5 MB, free: 8.141 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.728e-05/0.3669, allocations: 136 kB / 492.6 MB, free: 8.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.3669, allocations: 47.34 kB / 492.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.3669, allocations: 0 / 492.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3671, allocations: 334.8 kB / 493 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.3672, allocations: 43.97 kB / 493 MB, free: 7.578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.3673, allocations: 94.75 kB / 493.1 MB, free: 7.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.3676, allocations: 162.6 kB / 493.3 MB, free: 7.277 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3676, allocations: 0 / 493.3 MB, free: 7.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003304/0.3679, allocations: 189.2 kB / 493.5 MB, free: 7.086 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.368, allocations: 4 kB / 493.5 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.368, allocations: 4.188 kB / 493.5 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.368, allocations: 8 kB / 493.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.3681, allocations: 31.92 kB / 493.5 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3682, allocations: 7.984 kB / 493.5 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.867e-05/0.3683, allocations: 23.75 kB / 493.5 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.3683, allocations: 8 kB / 493.6 MB, free: 7 MB / 362.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 () * Number of clocked 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 0.0001085/0.3684, allocations: 133.8 kB / 493.7 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.3685, allocations: 27.69 kB / 493.7 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003711/0.3689, allocations: 190.8 kB / 493.9 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3689, allocations: 0 / 493.9 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3689, allocations: 4 kB / 493.9 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3689, allocations: 0 / 493.9 MB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.3693, allocations: 273.4 kB / 494.2 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3694, allocations: 7.875 kB / 494.2 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.3695, allocations: 35.97 kB / 494.2 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3695, allocations: 0 / 494.2 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.3696, allocations: 8 kB / 494.2 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3696, allocations: 0 / 494.2 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3696, allocations: 0 / 494.2 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.3701, allocations: 484.3 kB / 494.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.3702, allocations: 108.8 kB / 494.8 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.3702, allocations: 8 kB / 494.8 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.3704, allocations: 8.25 kB / 494.8 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.3705, allocations: 11.98 kB / 494.8 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3705, allocations: 15.98 kB / 494.8 MB, free: 5.617 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001426/0.3706, allocations: 164.5 kB / 495 MB, free: 5.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3706, allocations: 0 / 495 MB, free: 5.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003335/0.371, allocations: 36.25 kB / 495 MB, free: 5.418 MB / 362.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 () * Number of clocked 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.0001315/0.3711, allocations: 111.1 kB / 495.1 MB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.3714, allocations: 119.9 kB / 495.3 MB, free: 5.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3714, allocations: 4 kB / 495.3 MB, free: 5.176 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.3715, allocations: 72.53 kB / 495.3 MB, free: 5.105 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.3719, allocations: 20.36 kB / 495.4 MB, free: 5.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.373, allocations: 0.7317 MB / 496.1 MB, free: 4.316 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3733, allocations: 0.7439 MB / 496.8 MB, free: 3.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.971e-05/0.3734, allocations: 21.48 kB / 496.9 MB, free: 3.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.3735, allocations: 23.42 kB / 496.9 MB, free: 3.504 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3735, allocations: 3.938 kB / 496.9 MB, free: 3.5 MB / 362.7 MB Notification: Performance of Templates: time 0.003404/0.3769, allocations: 1.197 MB / 498.1 MB, free: 2.312 MB / 362.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/jenkins1/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