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.0009989/0.0009992, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.16/1.16, allocations: 227.2 MB / 245 MB, free: 7.598 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008981/0.0008981, allocations: 102.2 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002178/0.0002178, allocations: 8 kB / 357.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1851, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08132/0.2665, allocations: 77.68 MB / 487.1 MB, free: 12.94 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001767/0.2667, allocations: 65.06 kB / 487.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00796/0.2747, allocations: 2.964 MB / 490.1 MB, free: 9.918 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2747, allocations: 0 / 490.1 MB, free: 9.918 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.2747, allocations: 4 kB / 490.1 MB, free: 9.914 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.0005118/0.2752, allocations: 478.3 kB / 490.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2753, allocations: 8.031 kB / 490.6 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.2755, allocations: 51.69 kB / 490.6 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.2757, allocations: 234.6 kB / 490.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.2758, allocations: 8 kB / 490.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.2758, allocations: 16 kB / 490.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.2761, allocations: 168.1 kB / 491.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2761, allocations: 0 / 491.1 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.2761, allocations: 8 kB / 491.1 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2761, allocations: 4 kB / 491.1 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.2763, allocations: 87.58 kB / 491.2 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008662/0.2772, allocations: 0.6683 MB / 491.8 MB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.2774, allocations: 127.8 kB / 491.9 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.2774, allocations: 0 / 491.9 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.2775, allocations: 54.56 kB / 492 MB, free: 7.832 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.2775, allocations: 0 / 492 MB, free: 7.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.000448/0.2779, allocations: 181.4 kB / 492.2 MB, free: 7.648 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.278, allocations: 106.8 kB / 492.3 MB, free: 7.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.2782, allocations: 208.2 kB / 492.5 MB, free: 7.309 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2782, allocations: 25.7 kB / 492.5 MB, free: 7.277 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.2783, allocations: 140 kB / 492.6 MB, free: 7.137 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.2783, allocations: 43.36 kB / 492.7 MB, free: 7.094 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.2783, allocations: 0 / 492.7 MB, free: 7.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.909e-05/0.2784, allocations: 334.8 kB / 493 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2785, allocations: 43.98 kB / 493.1 MB, free: 6.715 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.2786, allocations: 101.3 kB / 493.2 MB, free: 6.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.2788, allocations: 55.98 kB / 493.2 MB, free: 6.539 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2788, allocations: 0 / 493.2 MB, free: 6.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003139/0.2791, allocations: 185.2 kB / 493.4 MB, free: 6.352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2791, allocations: 8 kB / 493.4 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2791, allocations: 3.984 kB / 493.4 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2792, allocations: 7.953 kB / 493.4 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.2793, allocations: 35.92 kB / 493.4 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.2793, allocations: 4.188 kB / 493.4 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.2794, allocations: 31.77 kB / 493.5 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.2795, allocations: 7.938 kB / 493.5 MB, free: 6.254 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 8.63e-05/0.2796, allocations: 125.8 kB / 493.6 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.2796, allocations: 23.72 kB / 493.6 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003555/0.28, allocations: 198.7 kB / 493.8 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.28, allocations: 7.953 kB / 493.8 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.28, allocations: 0 / 493.8 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.28, allocations: 96 / 493.8 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.2804, allocations: 273.4 kB / 494.1 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2804, allocations: 0.5625 kB / 494.1 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.2806, allocations: 31.98 kB / 494.1 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.2807, allocations: 11.98 kB / 494.1 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.2807, allocations: 4 kB / 494.2 MB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2807, allocations: 7.938 kB / 494.2 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2807, allocations: 7.953 kB / 494.2 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.2812, allocations: 0.4891 MB / 494.7 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.2812, allocations: 96.86 kB / 494.7 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.2813, allocations: 12 kB / 494.8 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.2815, allocations: 12 kB / 494.8 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.2815, allocations: 11.98 kB / 494.8 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.2815, allocations: 4 kB / 494.8 MB, free: 4.836 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.2816, allocations: 172.4 kB / 495 MB, free: 4.664 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2817, allocations: 4 kB / 495 MB, free: 4.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003324/0.282, allocations: 44.14 kB / 495 MB, free: 4.617 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.0001171/0.2821, allocations: 107.2 kB / 495.1 MB, free: 4.504 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.2824, allocations: 123.8 kB / 495.2 MB, free: 4.383 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.2824, allocations: 4 kB / 495.2 MB, free: 4.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.2825, allocations: 63.91 kB / 495.3 MB, free: 4.316 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.2828, allocations: 16.8 kB / 495.3 MB, free: 4.301 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.2837, allocations: 0.7342 MB / 496 MB, free: 3.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.284, allocations: 0.7517 MB / 496.8 MB, free: 2.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.626e-05/0.284, allocations: 17.53 kB / 496.8 MB, free: 2.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.2841, allocations: 23.42 kB / 496.8 MB, free: 2.711 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2841, allocations: 0 / 496.8 MB, free: 2.711 MB / 362.7 MB Notification: Performance of Templates: time 0.003236/0.2873, allocations: 1.199 MB / 498 MB, free: 1.52 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/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