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.001122/0.001122, allocations: 109.7 kB / 17.06 MB, free: 5.824 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.001117/0.001117, allocations: 191 kB / 18 MB, free: 4.977 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.488/1.488, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 55.91 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3778, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003667/0.3815, allocations: 1.997 MB / 402.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.3826, allocations: 0.5687 MB / 403.3 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.3827, allocations: 7.938 kB / 403.3 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.3829, allocations: 39.59 kB / 403.3 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.869e-05/0.383, allocations: 35.61 kB / 403.4 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.3833, allocations: 67.84 kB / 403.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.3835, allocations: 203.2 kB / 403.6 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.3838, allocations: 80.33 kB / 403.7 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.3839, allocations: 71.72 kB / 403.8 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.3841, allocations: 83.48 kB / 403.9 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.3841, allocations: 12 kB / 403.9 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.361e-05/0.3841, allocations: 12 kB / 403.9 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.3842, allocations: 39.84 kB / 403.9 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.523e-05/0.3843, allocations: 83.48 kB / 404 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.3845, allocations: 172.4 kB / 404.2 MB, free: 5.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.3845, allocations: 4 kB / 404.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3845, allocations: 0 / 404.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3846, allocations: 0 / 404.2 MB, free: 5.414 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.0007963/0.3854, allocations: 494.5 kB / 404.7 MB, free: 4.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3854, allocations: 8.031 kB / 404.7 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.3855, allocations: 32.64 kB / 404.7 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.3858, allocations: 235.8 kB / 404.9 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3858, allocations: 8.375 kB / 404.9 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.3858, allocations: 15.94 kB / 405 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.3862, allocations: 172.7 kB / 405.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3862, allocations: 0 / 405.1 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.3862, allocations: 4 kB / 405.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3862, allocations: 4 kB / 405.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.3865, allocations: 95.88 kB / 405.2 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009431/0.3874, allocations: 0.6331 MB / 405.9 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.3877, allocations: 127.8 kB / 406 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.3878, allocations: 58.62 kB / 406 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.3878, allocations: 3.984 kB / 406 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.3879, allocations: 42.56 kB / 406.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.3879, allocations: 0 / 406.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004933/0.3884, allocations: 173.2 kB / 406.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.3885, allocations: 110.8 kB / 406.4 MB, free: 2.992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.3887, allocations: 225 kB / 406.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3888, allocations: 37.77 kB / 406.6 MB, free: 2.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/0.3888, allocations: 140 kB / 406.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.3889, allocations: 39.36 kB / 406.8 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.389, allocations: 33.7 kB / 406.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3891, allocations: 338.8 kB / 407.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.3892, allocations: 39.97 kB / 407.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.3894, allocations: 94.83 kB / 407.3 MB, free: 2.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.3896, allocations: 147.2 kB / 407.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3896, allocations: 0 / 407.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003242/0.39, allocations: 185.2 kB / 407.6 MB, free: 1.648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.39, allocations: 8.188 kB / 407.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.39, allocations: 4 kB / 407.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.39, allocations: 4 kB / 407.6 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.3902, allocations: 39.91 kB / 407.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.3902, allocations: 4 kB / 407.7 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.3903, allocations: 19.83 kB / 407.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.3903, allocations: 4 kB / 407.7 MB, free: 1.566 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.0001194/0.3905, allocations: 129.8 kB / 407.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.3906, allocations: 19.81 kB / 407.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.391, allocations: 194.6 kB / 408 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.391, allocations: 4 kB / 408 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.391, allocations: 0 / 408 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.391, allocations: 4 kB / 408 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.3914, allocations: 265.5 kB / 408.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3915, allocations: 0 / 408.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.3916, allocations: 31.98 kB / 408.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3917, allocations: 7.938 kB / 408.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.3917, allocations: 11.98 kB / 408.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-05/0.3917, allocations: 0 / 408.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3917, allocations: 3.938 kB / 408.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/0.3923, allocations: 473.4 kB / 408.8 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.3924, allocations: 104.8 kB / 408.9 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.3924, allocations: 4.062 kB / 408.9 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.3926, allocations: 7.984 kB / 408.9 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.3927, allocations: 23.91 kB / 408.9 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.3927, allocations: 7.938 kB / 409 MB, free: 204 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.3928, allocations: 172.5 kB / 409.1 MB, free: 32 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3928, allocations: 0 / 409.1 MB, free: 32 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.3932, allocations: 28 kB / 409.2 MB, free: 4 kB / 318.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.0001763/0.3934, allocations: 107.2 kB / 409.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.3937, allocations: 115.7 kB / 409.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3937, allocations: 4 kB / 409.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.3939, allocations: 63.84 kB / 409.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.3943, allocations: 16.81 kB / 409.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.3954, allocations: 0.6199 MB / 410.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.3959, allocations: 0.7397 MB / 410.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.353e-05/0.396, allocations: 25.52 kB / 410.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.931e-05/0.396, allocations: 19.44 kB / 410.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of SimCode: time 1.91e-07/0.396, allocations: 0 / 410.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of Templates: time 0.004628/0.4007, allocations: 1.376 MB / 412.2 MB, free: 12.85 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/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_4.0.0_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches