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.00135/0.00135, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 206.8 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.429/1.429, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2971, allocations: 50.56 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003944/0.3011, allocations: 2.004 MB / 411.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3024, allocations: 0.6388 MB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.3027, allocations: 4 kB / 412.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.3029, allocations: 39.53 kB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.3031, allocations: 47.59 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.3035, allocations: 75.84 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.3039, allocations: 203.2 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.3041, allocations: 80.33 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.3043, allocations: 79.66 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.3045, allocations: 79.55 kB / 413.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.3046, allocations: 12 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.847e-05/0.3046, allocations: 19.94 kB / 413.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.3047, allocations: 31.86 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3048, allocations: 95.41 kB / 413.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.3051, allocations: 179 kB / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3051, allocations: 0 / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3051, allocations: 0 / 413.5 MB, free: 14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.3051, allocations: 0 / 413.5 MB, free: 14 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.0008509/0.306, allocations: 495.9 kB / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.306, allocations: 8.031 kB / 414 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.3063, allocations: 44.64 kB / 414 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.3067, allocations: 251.6 kB / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3067, allocations: 8.375 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.3068, allocations: 16.38 kB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000341/0.3071, allocations: 168.4 kB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3072, allocations: 3.938 kB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.3072, allocations: 12 kB / 414.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3072, allocations: 0 / 414.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.3074, allocations: 91.88 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/0.3084, allocations: 0.6294 MB / 415.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.3087, allocations: 135.7 kB / 415.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.3088, allocations: 54.67 kB / 415.4 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3088, allocations: 15.91 kB / 415.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.3089, allocations: 42.56 kB / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.3089, allocations: 0 / 415.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004838/0.3094, allocations: 169.4 kB / 415.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.3094, allocations: 106.8 kB / 415.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.3096, allocations: 238.8 kB / 416 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.3097, allocations: 29.7 kB / 416 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3098, allocations: 143.9 kB / 416.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.3098, allocations: 43.36 kB / 416.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.3099, allocations: 29.7 kB / 416.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.31, allocations: 338.8 kB / 416.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.3101, allocations: 35.89 kB / 416.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.3103, allocations: 94.84 kB / 416.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.3105, allocations: 146.7 kB / 416.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3105, allocations: 0 / 416.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003463/0.3109, allocations: 181.3 kB / 417 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3109, allocations: 12 kB / 417 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3109, allocations: 0 / 417 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3109, allocations: 4 kB / 417 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.3111, allocations: 35.91 kB / 417 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3111, allocations: 4 kB / 417 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.3113, allocations: 19.84 kB / 417 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3113, allocations: 7.984 kB / 417.1 MB, free: 10.12 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.000105/0.3114, allocations: 137.7 kB / 417.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/0.3115, allocations: 27.75 kB / 417.2 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.3119, allocations: 182.8 kB / 417.4 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3119, allocations: 0 / 417.4 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3119, allocations: 4.547 kB / 417.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.312, allocations: 96.83 kB / 417.5 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.312, allocations: 4 kB / 417.5 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.3122, allocations: 11.98 kB / 417.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.3122, allocations: 23.86 kB / 417.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006059/0.3129, allocations: 415.4 kB / 417.9 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005582/0.3134, allocations: 0.5439 MB / 418.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001352/0.3136, allocations: 67.89 kB / 418.6 MB, free: 8.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.3138, allocations: 181.8 kB / 418.7 MB, free: 8.387 MB / 334.1 MB Notification: Performance of Backend: time 3.5e-07/0.3138, allocations: 0 / 418.7 MB, free: 8.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006665/0.3144, allocations: 157.3 kB / 418.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009909/0.3154, allocations: 1.042 MB / 419.9 MB, free: 7.141 MB / 334.1 MB Notification: Performance of Templates: time 0.004551/0.32, allocations: 1.637 MB / 421.6 MB, free: 5.508 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