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.001427/0.001427, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001785/0.001785, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3715, allocations: 50.54 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.00356/0.3751, allocations: 2.009 MB / 411.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3764, allocations: 0.6388 MB / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.3766, allocations: 3.938 kB / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.3769, allocations: 39.55 kB / 411.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.377, allocations: 39.58 kB / 412 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.3774, allocations: 91.83 kB / 412.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.3778, allocations: 199.2 kB / 412.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.378, allocations: 76.34 kB / 412.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.3782, allocations: 83.62 kB / 412.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.3784, allocations: 79.56 kB / 412.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.3784, allocations: 15.94 kB / 412.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.902e-05/0.3785, allocations: 19.94 kB / 412.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.3785, allocations: 35.84 kB / 412.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.3786, allocations: 83.48 kB / 412.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.3789, allocations: 182.9 kB / 412.8 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3789, allocations: 4 kB / 412.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3789, allocations: 0 / 412.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.3789, allocations: 0 / 412.8 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.0008004/0.3798, allocations: 495.9 kB / 413.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.3798, allocations: 8.031 kB / 413.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002446/0.3801, allocations: 44.62 kB / 413.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.3804, allocations: 255.6 kB / 413.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3805, allocations: 12.38 kB / 413.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.3805, allocations: 12.38 kB / 413.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.3808, allocations: 160.5 kB / 413.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3809, allocations: 4 kB / 413.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.3809, allocations: 11.94 kB / 413.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3809, allocations: 4 kB / 413.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.3811, allocations: 87.94 kB / 413.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.3823, allocations: 0.6371 MB / 414.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.3826, allocations: 139.7 kB / 414.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3827, allocations: 50.69 kB / 414.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3827, allocations: 7.984 kB / 414.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.3828, allocations: 38.5 kB / 414.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.3828, allocations: 0 / 414.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004784/0.3832, allocations: 173.4 kB / 414.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.3833, allocations: 106.8 kB / 415 MB, free: 11.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.3836, allocations: 234.6 kB / 415.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.3836, allocations: 29.7 kB / 415.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.176e-05/0.3837, allocations: 144.1 kB / 415.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.3837, allocations: 43.36 kB / 415.5 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.3838, allocations: 33.7 kB / 415.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3839, allocations: 334.8 kB / 415.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.384, allocations: 39.88 kB / 415.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.3842, allocations: 98.78 kB / 416 MB, free: 10.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3844, allocations: 142.8 kB / 416.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3844, allocations: 0 / 416.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003329/0.3848, allocations: 185.1 kB / 416.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3848, allocations: 4 kB / 416.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.3848, allocations: 8.75 kB / 416.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3848, allocations: 0 / 416.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.385, allocations: 39.91 kB / 416.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.385, allocations: 3.938 kB / 416.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3851, allocations: 23.83 kB / 416.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.3851, allocations: 12 kB / 416.4 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.0001118/0.3852, allocations: 141.6 kB / 416.5 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.3853, allocations: 15.81 kB / 416.5 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/0.3857, allocations: 190.7 kB / 416.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3857, allocations: 4 kB / 416.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3857, allocations: 0 / 416.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3857, allocations: 0 / 416.7 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.3861, allocations: 269.5 kB / 417 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3861, allocations: 0 / 417 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.3863, allocations: 35.92 kB / 417 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3863, allocations: 3.984 kB / 417 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.3864, allocations: 8 kB / 417 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3864, allocations: 8.094 kB / 417 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3864, allocations: 0 / 417 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.3869, allocations: 473.4 kB / 417.5 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.387, allocations: 104.8 kB / 417.6 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.387, allocations: 15.92 kB / 417.6 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.3872, allocations: 4 kB / 417.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.3872, allocations: 16.08 kB / 417.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.3873, allocations: 4 kB / 417.6 MB, free: 8.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.3874, allocations: 178 kB / 417.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3874, allocations: 0 / 417.8 MB, free: 8.566 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.3877, allocations: 35.91 kB / 417.8 MB, free: 8.531 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.0001103/0.3879, allocations: 95.25 kB / 417.9 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.3882, allocations: 124 kB / 418.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3882, allocations: 0 / 418.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.3883, allocations: 59.91 kB / 418.1 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.3887, allocations: 16.56 kB / 418.1 MB, free: 8.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009519/0.3897, allocations: 0.6239 MB / 418.8 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.39, allocations: 0.7475 MB / 419.5 MB, free: 6.805 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.799e-05/0.3901, allocations: 17.55 kB / 419.5 MB, free: 6.789 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.3901, allocations: 23.42 kB / 419.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3901, allocations: 0 / 419.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of Templates: time 0.004116/0.3942, allocations: 1.386 MB / 420.9 MB, free: 5.383 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches