Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 117.6 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001578/0.001578, allocations: 216.7 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 227.7 MB / 247.9 MB, free: 10.19 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 63.88 kB / 359.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2649, allocations: 50.54 MB / 410.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003353/0.2682, allocations: 2.008 MB / 412.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2694, allocations: 0.6427 MB / 412.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2695, allocations: 4 kB / 412.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.2696, allocations: 43.53 kB / 412.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.499e-05/0.2697, allocations: 39.59 kB / 412.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.27, allocations: 83.83 kB / 413 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.2703, allocations: 203.2 kB / 413.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.2704, allocations: 56.36 kB / 413.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.2706, allocations: 75.64 kB / 413.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.2707, allocations: 79.56 kB / 413.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.2707, allocations: 16 kB / 413.4 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.916e-05/0.2708, allocations: 15.94 kB / 413.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.2708, allocations: 43.84 kB / 413.5 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.808e-05/0.2709, allocations: 83.47 kB / 413.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.2711, allocations: 179 kB / 413.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.2711, allocations: 7.938 kB / 413.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2711, allocations: 0 / 413.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2711, allocations: 4 kB / 413.8 MB, free: 13.9 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.0007107/0.2718, allocations: 498.3 kB / 414.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2719, allocations: 16.02 kB / 414.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.2721, allocations: 40.78 kB / 414.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.2725, allocations: 255.8 kB / 414.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2725, allocations: 8.375 kB / 414.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.2725, allocations: 16.36 kB / 414.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.2728, allocations: 168.4 kB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2728, allocations: 8 kB / 414.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.2729, allocations: 4 kB / 414.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2729, allocations: 4 kB / 414.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.2731, allocations: 83.94 kB / 414.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000939/0.274, allocations: 0.6373 MB / 415.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.2743, allocations: 135.7 kB / 415.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.2744, allocations: 54.67 kB / 415.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.2744, allocations: 4 kB / 415.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.2745, allocations: 38.5 kB / 415.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.2745, allocations: 0 / 415.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005255/0.275, allocations: 177.4 kB / 415.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.275, allocations: 106.9 kB / 416 MB, free: 11.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.2753, allocations: 238.6 kB / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.2753, allocations: 29.7 kB / 416.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.164e-05/0.2754, allocations: 136 kB / 416.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/0.2755, allocations: 55.58 kB / 416.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.2755, allocations: 29.7 kB / 416.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2757, allocations: 338.8 kB / 416.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.2758, allocations: 35.98 kB / 416.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.2759, allocations: 94.84 kB / 416.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.2762, allocations: 146.7 kB / 417.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2762, allocations: 0 / 417.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003462/0.2765, allocations: 185.9 kB / 417.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2766, allocations: 8 kB / 417.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2766, allocations: 4.062 kB / 417.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2766, allocations: 4 kB / 417.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.2767, allocations: 35.91 kB / 417.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2767, allocations: 7.984 kB / 417.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.2769, allocations: 19.89 kB / 417.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.2769, allocations: 4 kB / 417.3 MB, free: 10 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.0001244/0.277, allocations: 149.7 kB / 417.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.222e-05/0.2771, allocations: 23.86 kB / 417.5 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.2775, allocations: 178.8 kB / 417.7 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2775, allocations: 4 kB / 417.7 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2775, allocations: 0 / 417.7 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2775, allocations: 7.984 kB / 417.7 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.2779, allocations: 265.5 kB / 417.9 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2779, allocations: 8 kB / 417.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.2781, allocations: 39.89 kB / 418 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2781, allocations: 0 / 418 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.2782, allocations: 8 kB / 418 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2782, allocations: 3.938 kB / 418 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2782, allocations: 4 kB / 418 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005872/0.2787, allocations: 481.1 kB / 418.5 MB, free: 8.777 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.026e-05/0.2788, allocations: 104.9 kB / 418.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.2789, allocations: 8.062 kB / 418.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.279, allocations: 4 kB / 418.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.2791, allocations: 15.97 kB / 418.6 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.2791, allocations: 4 kB / 418.6 MB, free: 8.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.2793, allocations: 174 kB / 418.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2793, allocations: 4 kB / 418.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.2796, allocations: 32 kB / 418.8 MB, free: 8.418 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.0001229/0.2797, allocations: 99.19 kB / 418.9 MB, free: 8.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003129/0.28, allocations: 111.8 kB / 419 MB, free: 8.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.28, allocations: 0 / 419 MB, free: 8.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.2802, allocations: 72.2 kB / 419.1 MB, free: 8.129 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.2806, allocations: 12.56 kB / 419.1 MB, free: 8.117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.2817, allocations: 0.623 MB / 419.7 MB, free: 7.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.282, allocations: 0.7474 MB / 420.5 MB, free: 6.691 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.592e-05/0.2821, allocations: 21.53 kB / 420.5 MB, free: 6.672 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.2821, allocations: 27.44 kB / 420.5 MB, free: 6.645 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.2821, allocations: 0 / 420.5 MB, free: 6.645 MB / 334.1 MB Notification: Performance of Templates: time 0.004597/0.2867, allocations: 1.39 MB / 421.9 MB, free: 5.258 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches