Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.2..i|transformer1.l2sigma.inductor.3..i|realFFT.iTick",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.2..i|transformer1.l2sigma.inductor.3..i|realFFT.iTick",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009846/0.0009846, allocations: 175.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007207/0.0007207, allocations: 87.81 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.000293, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.202, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier6pulseFFT): time 0.004983/0.207, allocations: 6.162 MB / 381.2 MB, free: 40.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003938/0.211, allocations: 2.765 MB / 384 MB, free: 38.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006228/0.2116, allocations: 40.12 kB / 384 MB, free: 38.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000966/0.2126, allocations: 432 kB / 384.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.2141, allocations: 1.195 MB / 385.7 MB, free: 37.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008381/0.215, allocations: 355.5 kB / 386 MB, free: 37.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002597/0.2176, allocations: 3.229 MB / 389.2 MB, free: 34.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.2192, allocations: 2.033 MB / 391.3 MB, free: 32.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.2211, allocations: 1.423 MB / 392.7 MB, free: 31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.2227, allocations: 1.85 MB / 394.5 MB, free: 29.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.2229, allocations: 159.9 kB / 394.7 MB, free: 28.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.224, allocations: 467.4 kB / 395.2 MB, free: 28.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001638/0.2256, allocations: 4.331 MB / 399.5 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002942/0.2286, allocations: 4.921 MB / 404.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005289/0.2339, allocations: 9.609 MB / 414 MB, free: 9.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2339, allocations: 0 / 414 MB, free: 9.586 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2339, allocations: 3.938 kB / 414 MB, free: 9.582 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002372/0.2341, allocations: 4 kB / 414 MB, free: 9.578 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: 5386 * Number of variables: 5386 Notification: Performance of Generate backend data structure: time 0.01342/0.2476, allocations: 14.93 MB / 429 MB, free: 10.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2476, allocations: 8.031 kB / 429 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002483/0.2501, allocations: 1.476 MB / 430.4 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004694/0.2548, allocations: 2.923 MB / 433.4 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.255, allocations: 172.4 kB / 433.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.2553, allocations: 219.9 kB / 433.7 MB, free: 5.637 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0255/0.2808, allocations: 26.94 MB / 460.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.2809, allocations: 0 / 460.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/0.2811, allocations: 95.98 kB / 460.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.2812, allocations: 112.5 kB / 460.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0223/0.3035, allocations: 24.41 MB / 485.3 MB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02051/0.3241, allocations: 14.71 MB / 0.4883 GB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3155/0.6397, allocations: 82.34 MB / 0.5687 GB, free: 33.31 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.05008/0.6898, allocations: 80.36 MB / 0.6472 GB, free: 1.199 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.6901, allocations: 128.8 kB / 0.6473 GB, free: 1.059 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1838/0.874, allocations: 29.81 MB / 0.6764 GB, free: 132 MB / 426.8 MB Notification: Performance of pre-optimization done (n=4937): time 4.819e-06/0.874, allocations: 0 / 0.6764 GB, free: 132 MB / 426.8 MB Notification: Performance of matching and sorting (n=4941): time 12.48/13.35, allocations: 2.896 GB / 3.572 GB, free: 195.2 MB / 1.886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003272/13.36, allocations: 7.218 MB / 3.579 GB, free: 188.3 MB / 1.886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/13.36, allocations: 1.495 MB / 3.581 GB, free: 186.7 MB / 1.886 GB Notification: Performance of collectPreVariables (initialization): time 0.004011/13.36, allocations: 3.928 MB / 3.584 GB, free: 182.8 MB / 1.886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008774/13.36, allocations: 1.039 MB / 3.585 GB, free: 181.8 MB / 1.886 GB Notification: Performance of collectInitialBindings (initialization): time 0.01825/13.38, allocations: 21.23 MB / 3.606 GB, free: 160.3 MB / 1.886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004858/13.39, allocations: 1.492 MB / 3.608 GB, free: 158.8 MB / 1.886 GB Notification: Performance of setup shared object (initialization): time 0.005271/13.39, allocations: 3.455 MB / 3.611 GB, free: 155.4 MB / 1.886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04437/13.44, allocations: 26.2 MB / 3.637 GB, free: 129.1 MB / 1.886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06257/13.5, allocations: 57.91 MB / 3.693 GB, free: 56.5 MB / 1.886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09388/13.59, allocations: 86.43 MB / 3.778 GB, free: 3.172 MB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.002054/13.59, allocations: 300 kB / 3.778 GB, free: 2.879 MB / 1.932 GB Notification: Performance of matching and sorting (n=9772) (initialization): time 0.1726/13.77, allocations: 85.56 MB / 3.861 GB, free: 13.27 MB / 2.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.00245/13.77, allocations: 485.6 kB / 3.862 GB, free: 12.79 MB / 2.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00354/13.77, allocations: 1.031 MB / 3.863 GB, free: 11.75 MB / 2.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007729/13.78, allocations: 2.284 MB / 3.865 GB, free: 9.461 MB / 2.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03734/13.82, allocations: 10.55 MB / 3.875 GB, free: 14.89 MB / 2.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/13.83, allocations: 12.66 MB / 3.888 GB, free: 1.707 MB / 2.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03114/13.87, allocations: 2.43 MB / 3.89 GB, free: 15.27 MB / 2.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009018/13.87, allocations: 3.561 MB / 3.894 GB, free: 11.71 MB / 2.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4823 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.realFFT.firstTrigger,realFFT.firstTrigger,$PRE.realFFT.info,realFFT.info,$PRE.realFFT.buf[4000],realFFT.buf[4000],$PRE.realFFT.iTick,realFFT.iTick,$whenCondition3,$whenCondition1,$whenCondition2,realFFT.sampleTrigger,diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9717): * Single equations (assignments): 9712 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.03181/13.91, allocations: 14.49 MB / 3.908 GB, free: 13.16 MB / 2.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004416/13.91, allocations: 2.215 MB / 3.91 GB, free: 10.92 MB / 2.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.252/21.16, allocations: 8.841 GB / 12.75 GB, free: 1.489 GB / 2.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/21.16, allocations: 12 kB / 12.75 GB, free: 1.489 GB / 2.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/21.16, allocations: 4 kB / 12.75 GB, free: 1.489 GB / 2.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.968e-05/21.16, allocations: 13.05 kB / 12.75 GB, free: 1.489 GB / 2.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.339/28.5, allocations: 8.861 GB / 21.61 GB, free: 2.265 GB / 2.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/28.5, allocations: 6.312 kB / 21.61 GB, free: 2.265 GB / 2.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007357/28.5, allocations: 159.5 kB / 21.61 GB, free: 2.265 GB / 2.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/28.5, allocations: 0.8045 MB / 21.61 GB, free: 2.264 GB / 2.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002806/28.51, allocations: 0.623 MB / 21.61 GB, free: 2.264 GB / 2.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009104/28.52, allocations: 10.41 MB / 21.62 GB, free: 2.253 GB / 2.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/28.52, allocations: 0 / 21.62 GB, free: 2.253 GB / 2.745 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.916/35.43, allocations: 8.895 GB / 30.52 GB, free: 0.5874 GB / 2.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01024/35.44, allocations: 4.658 MB / 30.52 GB, free: 0.5836 GB / 2.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003487/35.45, allocations: 0.6211 MB / 30.52 GB, free: 0.583 GB / 2.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006735/35.45, allocations: 0.6673 MB / 30.52 GB, free: 0.5824 GB / 2.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002832/35.46, allocations: 0.56 MB / 30.52 GB, free: 0.5818 GB / 2.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001995/35.46, allocations: 0.6172 MB / 30.53 GB, free: 0.5812 GB / 2.745 GB Notification: Performance of sorting global known variables: time 0.00166/35.46, allocations: 1.057 MB / 30.53 GB, free: 0.5802 GB / 2.745 GB Notification: Performance of sort global known variables: time 2.8e-07/35.46, allocations: 0 / 30.53 GB, free: 0.5802 GB / 2.745 GB Notification: Performance of remove unused functions: time 0.04323/35.5, allocations: 9.519 MB / 30.54 GB, free: 0.5709 GB / 2.745 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 14 (realFFT.sampleTrigger,$whenCondition3,$whenCondition1,$whenCondition2,diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,realFFT.firstTrigger,realFFT.info,realFFT.buf[4000],realFFT.iTick) * Number of discrete states: 5 (realFFT.info,$whenCondition2,realFFT.buf[4000],realFFT.iTick,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004879/35.51, allocations: 1.002 MB / 30.54 GB, free: 0.57 GB / 2.745 GB Notification: Performance of simCode: created initialization part: time 0.09998/35.61, allocations: 81.74 MB / 30.62 GB, free: 0.4905 GB / 2.745 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/35.61, allocations: 4.188 kB / 30.62 GB, free: 0.4905 GB / 2.745 GB Notification: Performance of simCode: created simulation system equations: time 19.11/54.71, allocations: 28.57 GB / 59.19 GB, free: 0.7935 GB / 2.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01166/54.73, allocations: 1.651 MB / 59.19 GB, free: 0.7919 GB / 2.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09584/54.82, allocations: 66.85 MB / 59.26 GB, free: 0.7269 GB / 2.745 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01323/54.84, allocations: 8.826 MB / 59.26 GB, free: 0.7182 GB / 2.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006041/54.84, allocations: 1.269 MB / 59.27 GB, free: 0.717 GB / 2.745 GB Notification: Performance of SimCode: time 1.172e-06/54.84, allocations: 3.938 kB / 59.27 GB, free: 0.7169 GB / 2.745 GB Notification: Performance of Templates: time 2.793/57.63, allocations: 1.408 GB / 60.67 GB, free: 1.699 GB / 2.745 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Rectifier6pulseFFT/Rectifier6pulseFFT.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches