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.001544/0.001544, allocations: 117.7 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002472/0.002472, allocations: 202.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.444/2.444, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 63.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.4876, allocations: 50.53 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.006233/0.4939, allocations: 2.013 MB / 411.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.4962, allocations: 0.6388 MB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003836/0.4966, allocations: 3.938 kB / 412.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.497, allocations: 39.55 kB / 412.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.4973, allocations: 43.59 kB / 412.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.498, allocations: 83.83 kB / 412.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005628/0.4986, allocations: 199.2 kB / 412.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.4989, allocations: 80.33 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.4993, allocations: 83.64 kB / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.4995, allocations: 75.56 kB / 413.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.4996, allocations: 16 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.4997, allocations: 19.94 kB / 413.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.23e-05/0.4998, allocations: 35.84 kB / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.5, allocations: 83.47 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004574/0.5005, allocations: 186.9 kB / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.5005, allocations: 0 / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5005, allocations: 0 / 413.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.5005, allocations: 0 / 413.5 MB, free: 13.96 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.001206/0.5017, allocations: 499.9 kB / 414 MB, free: 13.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.5018, allocations: 8.031 kB / 414 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004438/0.5023, allocations: 44.62 kB / 414 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.5029, allocations: 251.6 kB / 414.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.5029, allocations: 8.375 kB / 414.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.008e-05/0.503, allocations: 20.31 kB / 414.3 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.5036, allocations: 164.5 kB / 414.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.5036, allocations: 0 / 414.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.5037, allocations: 4 kB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.5037, allocations: 11.92 kB / 414.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.5042, allocations: 83.95 kB / 414.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.5059, allocations: 0.641 MB / 415.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.5063, allocations: 131.7 kB / 415.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.5066, allocations: 54.69 kB / 415.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.5066, allocations: 4 kB / 415.4 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.5067, allocations: 34.56 kB / 415.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 3.767e-06/0.5067, allocations: 3.938 kB / 415.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.000937/0.5077, allocations: 177.9 kB / 415.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.5078, allocations: 102.8 kB / 415.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/0.5083, allocations: 238.6 kB / 415.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.5083, allocations: 25.7 kB / 416 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.5085, allocations: 144 kB / 416.1 MB, free: 11.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.907e-05/0.5086, allocations: 39.36 kB / 416.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.5087, allocations: 29.7 kB / 416.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.5089, allocations: 338.8 kB / 416.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.5092, allocations: 48 kB / 416.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.5094, allocations: 94.78 kB / 416.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.51, allocations: 146.8 kB / 416.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.51, allocations: 0 / 416.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006733/0.5107, allocations: 185.1 kB / 417 MB, free: 10.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.5107, allocations: 8 kB / 417 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5107, allocations: 0 / 417 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/0.5108, allocations: 7.984 kB / 417 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.5111, allocations: 31.92 kB / 417 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.5111, allocations: 7.984 kB / 417 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.5114, allocations: 23.83 kB / 417 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.5114, allocations: 8.188 kB / 417 MB, free: 10.08 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.0001988/0.5116, allocations: 141.6 kB / 417.2 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.5118, allocations: 19.81 kB / 417.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007303/0.5125, allocations: 186.7 kB / 417.4 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.5126, allocations: 0 / 417.4 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.5126, allocations: 4 kB / 417.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.5126, allocations: 4 kB / 417.4 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008682/0.5135, allocations: 269.5 kB / 417.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.5135, allocations: 0 / 417.7 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.5139, allocations: 35.91 kB / 417.7 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.5139, allocations: 4 kB / 417.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.514, allocations: 7.938 kB / 417.7 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.514, allocations: 7.938 kB / 417.7 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.514, allocations: 0 / 417.7 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.5151, allocations: 473.6 kB / 418.2 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.5152, allocations: 96.77 kB / 418.3 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.01e-05/0.5153, allocations: 12.23 kB / 418.3 MB, free: 8.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.5157, allocations: 15.94 kB / 418.3 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.5158, allocations: 7.984 kB / 418.3 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.5158, allocations: 4 kB / 418.3 MB, free: 8.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003163/0.5161, allocations: 186 kB / 418.5 MB, free: 8.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5161, allocations: 0 / 418.5 MB, free: 8.531 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006897/0.5168, allocations: 31.91 kB / 418.5 MB, free: 8.5 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001879/0.517, allocations: 99.25 kB / 418.6 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004869/0.5176, allocations: 120.2 kB / 418.7 MB, free: 8.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5176, allocations: 4.125 kB / 418.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.5178, allocations: 63.91 kB / 418.8 MB, free: 8.207 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007345/0.5186, allocations: 15.38 kB / 418.8 MB, free: 8.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.5206, allocations: 0.6525 MB / 419.5 MB, free: 7.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.5213, allocations: 0.7397 MB / 420.2 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.5214, allocations: 23.44 kB / 420.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5214, allocations: 0 / 420.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of Templates: time 0.00783/0.5293, allocations: 2.224 MB / 422.5 MB, free: 4.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