Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Blocks.Examples.Modulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 109.8 kB / 17.74 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 193.6 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 43.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4066, allocations: 49.44 MB / 401.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.004501/0.4112, allocations: 1.995 MB / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.4127, allocations: 0.5687 MB / 404 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/0.413, allocations: 7.938 kB / 404 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.4133, allocations: 39.59 kB / 404 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.4135, allocations: 43.58 kB / 404.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.4139, allocations: 59.88 kB / 404.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.4142, allocations: 207.1 kB / 404.3 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.4145, allocations: 72.36 kB / 404.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.4147, allocations: 75.69 kB / 404.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.4149, allocations: 79.52 kB / 404.5 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.4149, allocations: 16 kB / 404.6 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.622e-05/0.415, allocations: 12 kB / 404.6 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.315e-05/0.415, allocations: 35.84 kB / 404.6 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.4152, allocations: 83.47 kB / 404.7 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.4154, allocations: 180.4 kB / 404.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4155, allocations: 0 / 404.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.4155, allocations: 3.984 kB / 404.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.4155, allocations: 0 / 404.9 MB, free: 5.383 MB / 318.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.0008922/0.4164, allocations: 494.5 kB / 405.3 MB, free: 4.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.4164, allocations: 11.97 kB / 405.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.451e-05/0.4165, allocations: 28.66 kB / 405.4 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.4168, allocations: 231.8 kB / 405.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.4169, allocations: 12.38 kB / 405.6 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.4169, allocations: 15.94 kB / 405.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.4174, allocations: 168.7 kB / 405.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4174, allocations: 0 / 405.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.4174, allocations: 8 kB / 405.8 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.4174, allocations: 8 kB / 405.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.4177, allocations: 91.88 kB / 405.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.4188, allocations: 0.6292 MB / 406.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.4191, allocations: 135.8 kB / 406.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.4193, allocations: 54.67 kB / 406.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.4193, allocations: 7.984 kB / 406.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.4193, allocations: 38.56 kB / 406.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.4193, allocations: 0 / 406.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005544/0.4199, allocations: 177.2 kB / 406.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.42, allocations: 106.8 kB / 407 MB, free: 2.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.4202, allocations: 233 kB / 407.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.4203, allocations: 29.83 kB / 407.3 MB, free: 2.688 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.4204, allocations: 136 kB / 407.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.4204, allocations: 39.36 kB / 407.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.4205, allocations: 33.7 kB / 407.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4206, allocations: 338.8 kB / 407.8 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.4208, allocations: 39.97 kB / 407.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.4209, allocations: 90.84 kB / 408 MB, free: 1.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.4212, allocations: 147.2 kB / 408.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.4212, allocations: 4 kB / 408.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003596/0.4216, allocations: 185.2 kB / 408.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.4216, allocations: 8.188 kB / 408.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4216, allocations: 4 kB / 408.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4216, allocations: 0 / 408.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.4218, allocations: 35.92 kB / 408.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4218, allocations: 0 / 408.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.422, allocations: 23.83 kB / 408.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.422, allocations: 8 kB / 408.4 MB, free: 1.543 MB / 318.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.0001259/0.4221, allocations: 129.8 kB / 408.5 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-05/0.4222, allocations: 15.86 kB / 408.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.4226, allocations: 206.6 kB / 408.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.4227, allocations: 4 kB / 408.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4227, allocations: 0 / 408.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4227, allocations: 0 / 408.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.4232, allocations: 273.4 kB / 409 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4232, allocations: 0 / 409 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.4234, allocations: 31.97 kB / 409 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.4234, allocations: 8 kB / 409 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.4234, allocations: 4 kB / 409 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.4234, allocations: 11.88 kB / 409 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4235, allocations: 0 / 409 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005722/0.424, allocations: 471.3 kB / 409.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.4241, allocations: 100.8 kB / 409.6 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.4242, allocations: 12.05 kB / 409.6 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.4244, allocations: 4 kB / 409.6 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.4244, allocations: 11.98 kB / 409.6 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.4245, allocations: 11.88 kB / 409.6 MB, free: 176 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.4246, allocations: 168.5 kB / 409.8 MB, free: 8 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4246, allocations: 0 / 409.8 MB, free: 8 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.425, allocations: 36.05 kB / 409.8 MB, free: 15.97 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.0001563/0.4252, allocations: 103.1 kB / 409.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.4255, allocations: 119.7 kB / 410.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4256, allocations: 0 / 410.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.4257, allocations: 63.91 kB / 410.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.4261, allocations: 16.81 kB / 410.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.4274, allocations: 0.6411 MB / 410.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.4278, allocations: 0.7397 MB / 411.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.238e-05/0.4278, allocations: 27.42 kB / 411.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4279, allocations: 0 / 411.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Templates: time 0.005387/0.4332, allocations: 2.131 MB / 413.7 MB, free: 12.05 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Modulation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches