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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00173/0.00173, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.88 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2696, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003065/0.2727, allocations: 2.001 MB / 411.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.2738, allocations: 0.6465 MB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.2739, allocations: 4 kB / 412.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.2741, allocations: 39.55 kB / 412.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.483e-05/0.2742, allocations: 39.59 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.2745, allocations: 87.83 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.2748, allocations: 199.2 kB / 412.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.2749, allocations: 80.33 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.2751, allocations: 83.64 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.2753, allocations: 79.5 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.2753, allocations: 12 kB / 413.2 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.599e-05/0.2754, allocations: 16 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.413e-05/0.2754, allocations: 35.84 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.923e-05/0.2755, allocations: 79.48 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.2757, allocations: 190.9 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2757, allocations: 4 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2757, allocations: 0 / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2757, allocations: 0 / 413.5 MB, free: 13.99 MB / 334.1 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.0006707/0.2764, allocations: 491.9 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.2765, allocations: 8.031 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.2767, allocations: 44.62 kB / 414 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.277, allocations: 255.6 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.277, allocations: 8.375 kB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.2771, allocations: 12.38 kB / 414.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.2774, allocations: 168.4 kB / 414.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2774, allocations: 0 / 414.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.2774, allocations: 7.938 kB / 414.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.2775, allocations: 7.984 kB / 414.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.2777, allocations: 87.95 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009287/0.2786, allocations: 0.6371 MB / 415.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.2789, allocations: 131.8 kB / 415.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.279, allocations: 58.69 kB / 415.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.279, allocations: 3.984 kB / 415.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.2791, allocations: 46.5 kB / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.2791, allocations: 0 / 415.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004913/0.2796, allocations: 173.4 kB / 415.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.2796, allocations: 102.8 kB / 415.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.2799, allocations: 238.6 kB / 416 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2799, allocations: 25.7 kB / 416 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.28, allocations: 144.1 kB / 416.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.2801, allocations: 43.36 kB / 416.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-05/0.2801, allocations: 29.7 kB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2802, allocations: 338.8 kB / 416.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.2804, allocations: 47.88 kB / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.2805, allocations: 94.78 kB / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.2808, allocations: 146.7 kB / 416.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2808, allocations: 0 / 416.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003593/0.2811, allocations: 177.2 kB / 417 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2812, allocations: 10.81 kB / 417 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2812, allocations: 192 / 417 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2812, allocations: 11.98 kB / 417 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2814, allocations: 31.92 kB / 417 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.2814, allocations: 4 kB / 417 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.2815, allocations: 23.83 kB / 417.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.2815, allocations: 4 kB / 417.1 MB, free: 10.11 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.2816, allocations: 137.7 kB / 417.2 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.2817, allocations: 23.75 kB / 417.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.2821, allocations: 190.7 kB / 417.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2821, allocations: 4.562 kB / 417.4 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2821, allocations: 0 / 417.4 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.2822, allocations: 100.8 kB / 417.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.2822, allocations: 3.984 kB / 417.5 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.2824, allocations: 15.94 kB / 417.5 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.2825, allocations: 15.92 kB / 417.5 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005986/0.2831, allocations: 419.3 kB / 418 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005673/0.2837, allocations: 0.5511 MB / 418.5 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001402/0.2838, allocations: 64.09 kB / 418.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.284, allocations: 173.9 kB / 418.7 MB, free: 8.379 MB / 334.1 MB Notification: Performance of Backend: time 4.51e-07/0.284, allocations: 0 / 418.7 MB, free: 8.379 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006772/0.2847, allocations: 154.2 kB / 418.9 MB, free: 8.219 MB / 334.1 MB Notification: Performance of SimCode: time 0.001008/0.2857, allocations: 1.038 MB / 419.9 MB, free: 7.137 MB / 334.1 MB Notification: Performance of Templates: time 0.004513/0.2902, allocations: 1.646 MB / 421.6 MB, free: 5.492 MB / 334.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches