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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.0009583, allocations: 109.9 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008729/0.0008733, allocations: 43.94 kB / 350 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2608, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.002498/0.2633, allocations: 2.043 MB / 401.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006186/0.2639, allocations: 0.553 MB / 402.1 MB, free: 30.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.412e-05/0.264, allocations: 7.938 kB / 402.1 MB, free: 30.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.2642, allocations: 27.73 kB / 402.1 MB, free: 30.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.985e-05/0.2643, allocations: 27.72 kB / 402.1 MB, free: 30.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.2644, allocations: 63.89 kB / 402.2 MB, free: 30.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.2646, allocations: 199.2 kB / 402.4 MB, free: 30.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.2648, allocations: 76.22 kB / 402.4 MB, free: 30.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.854e-05/0.2649, allocations: 67.7 kB / 402.5 MB, free: 30.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.117e-05/0.2649, allocations: 71.56 kB / 402.6 MB, free: 30.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.265, allocations: 8 kB / 402.6 MB, free: 30.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.265, allocations: 4 kB / 402.6 MB, free: 30.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.265, allocations: 35.78 kB / 402.6 MB, free: 30.17 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.2651, allocations: 79.47 kB / 402.7 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.2652, allocations: 152.9 kB / 402.9 MB, free: 29.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2652, allocations: 4 kB / 402.9 MB, free: 29.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.2652, allocations: 8 kB / 402.9 MB, free: 29.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.2652, allocations: 0 / 402.9 MB, free: 29.93 MB / 298.7 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.0005092/0.2658, allocations: 490.5 kB / 403.3 MB, free: 29.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2658, allocations: 8.031 kB / 403.4 MB, free: 29.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.2658, allocations: 24.66 kB / 403.4 MB, free: 29.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.2661, allocations: 231.9 kB / 403.6 MB, free: 29.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2661, allocations: 12.31 kB / 403.6 MB, free: 29.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.2661, allocations: 24.12 kB / 403.6 MB, free: 29.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.2663, allocations: 164.2 kB / 403.8 MB, free: 28.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2664, allocations: 0 / 403.8 MB, free: 28.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.2664, allocations: 4 kB / 403.8 MB, free: 28.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.2664, allocations: 4 kB / 403.8 MB, free: 28.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.2666, allocations: 87.89 kB / 403.9 MB, free: 28.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007034/0.2673, allocations: 0.6448 MB / 404.5 MB, free: 28.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.2675, allocations: 131.8 kB / 404.7 MB, free: 27.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.546e-05/0.2676, allocations: 50.69 kB / 404.7 MB, free: 27.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.2676, allocations: 7.984 kB / 404.7 MB, free: 27.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.2677, allocations: 42.56 kB / 404.8 MB, free: 27.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.2677, allocations: 0 / 404.8 MB, free: 27.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004082/0.2681, allocations: 181.6 kB / 404.9 MB, free: 27.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.2681, allocations: 106.8 kB / 405 MB, free: 27.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.2683, allocations: 233 kB / 405.3 MB, free: 27.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.2683, allocations: 25.7 kB / 405.3 MB, free: 27.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.2683, allocations: 148 kB / 405.4 MB, free: 27.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.2684, allocations: 43.36 kB / 405.5 MB, free: 27.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.2684, allocations: 29.7 kB / 405.5 MB, free: 27.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.2685, allocations: 338.8 kB / 405.8 MB, free: 26.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.038e-05/0.2686, allocations: 39.97 kB / 405.9 MB, free: 26.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.82e-05/0.2687, allocations: 95.94 kB / 406 MB, free: 26.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.2689, allocations: 142.7 kB / 406.1 MB, free: 26.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2689, allocations: 0 / 406.1 MB, free: 26.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002653/0.2692, allocations: 181.2 kB / 406.3 MB, free: 26.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2692, allocations: 8 kB / 406.3 MB, free: 26.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2692, allocations: 8.172 kB / 406.3 MB, free: 26.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2692, allocations: 4 kB / 406.3 MB, free: 26.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.2693, allocations: 35.91 kB / 406.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.2694, allocations: 4 kB / 406.4 MB, free: 26.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.2695, allocations: 23.88 kB / 406.4 MB, free: 26.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.2695, allocations: 7.984 kB / 406.4 MB, free: 26.09 MB / 298.7 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 7.731e-05/0.2696, allocations: 134.2 kB / 406.5 MB, free: 25.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.2697, allocations: 23.72 kB / 406.5 MB, free: 25.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.27, allocations: 186.8 kB / 406.7 MB, free: 25.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.27, allocations: 11.92 kB / 406.7 MB, free: 25.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.27, allocations: 0 / 406.7 MB, free: 25.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.27, allocations: 4 kB / 406.7 MB, free: 25.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.2703, allocations: 265.4 kB / 407 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2703, allocations: 0 / 407 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.2705, allocations: 39.92 kB / 407 MB, free: 25.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2705, allocations: 4 kB / 407 MB, free: 25.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2705, allocations: 4 kB / 407 MB, free: 25.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2705, allocations: 3.984 kB / 407.1 MB, free: 25.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2705, allocations: 128 / 407.1 MB, free: 25.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.2717, allocations: 1.614 MB / 408.7 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.2718, allocations: 96.86 kB / 408.8 MB, free: 23.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.2718, allocations: 4.062 kB / 408.8 MB, free: 23.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.272, allocations: 11.98 kB / 408.8 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.272, allocations: 19.92 kB / 408.8 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.272, allocations: 4 kB / 408.8 MB, free: 23.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.2721, allocations: 172.5 kB / 409 MB, free: 23.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2721, allocations: 0 / 409 MB, free: 23.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003835/0.2725, allocations: 43.91 kB / 409 MB, free: 23.24 MB / 298.7 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 8.033e-05/0.2726, allocations: 103.2 kB / 409.1 MB, free: 23.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.2729, allocations: 111.9 kB / 409.2 MB, free: 23.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2729, allocations: 3.938 kB / 409.2 MB, free: 23.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.273, allocations: 63.91 kB / 409.3 MB, free: 22.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.2734, allocations: 20.38 kB / 409.3 MB, free: 22.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009306/0.2743, allocations: 0.8352 MB / 410.1 MB, free: 22.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.2745, allocations: 0.7439 MB / 410.9 MB, free: 21.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.801e-05/0.2746, allocations: 22.19 kB / 410.9 MB, free: 21.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.2746, allocations: 27.42 kB / 410.9 MB, free: 21.24 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2746, allocations: 0 / 410.9 MB, free: 21.24 MB / 298.7 MB Notification: Performance of Templates: time 0.003444/0.2781, allocations: 1.355 MB / 412.3 MB, free: 19.89 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches