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.001254/0.001254, allocations: 179.7 kB / 16.41 MB, free: 5.707 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.483/1.483, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0006979/0.0006982, allocations: 90.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002768, allocations: 12 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1949, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier6pulseFFT): time 0.005121/0.2, allocations: 6.162 MB / 380.7 MB, free: 40.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003921/0.204, allocations: 2.774 MB / 383.5 MB, free: 38.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005893/0.2046, allocations: 34.88 kB / 383.5 MB, free: 38.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009248/0.2055, allocations: 428.9 kB / 383.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.207, allocations: 1.182 MB / 385.1 MB, free: 37.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008406/0.2079, allocations: 358.1 kB / 385.5 MB, free: 37.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002631/0.2105, allocations: 3.203 MB / 388.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.2119, allocations: 1.591 MB / 390.3 MB, free: 33.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.2133, allocations: 1.426 MB / 391.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.215, allocations: 1.85 MB / 393.5 MB, free: 29.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002347/0.2152, allocations: 156 kB / 393.7 MB, free: 29.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001022/0.2162, allocations: 427.6 kB / 394.1 MB, free: 29.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001669/0.2179, allocations: 4.335 MB / 398.4 MB, free: 24.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001783/0.2197, allocations: 2.154 MB / 400.6 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005725/0.2254, allocations: 9.601 MB / 410.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2255, allocations: 0 / 410.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2255, allocations: 3.938 kB / 410.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002904/0.2258, allocations: 0 / 410.2 MB, free: 13.08 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.01316/0.239, allocations: 15.1 MB / 425.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.727e-05/0.239, allocations: 12.03 kB / 425.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002723/0.2418, allocations: 1.475 MB / 426.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004596/0.2464, allocations: 2.872 MB / 429.7 MB, free: 9.398 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.2465, allocations: 172.4 kB / 429.8 MB, free: 9.227 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.2468, allocations: 215.9 kB / 430 MB, free: 9.016 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02766/0.2745, allocations: 26.94 MB / 457 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/0.2746, allocations: 7.891 kB / 457 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.2748, allocations: 95.98 kB / 457.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.275, allocations: 108.5 kB / 457.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02337/0.2983, allocations: 24.42 MB / 481.6 MB, free: 5.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02073/0.3191, allocations: 14.69 MB / 496.3 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3351/0.6543, allocations: 82.36 MB / 0.5651 GB, free: 37.16 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.04792/0.7022, allocations: 80.34 MB / 0.6436 GB, free: 5.16 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.7026, allocations: 124 kB / 0.6437 GB, free: 5.023 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1899/0.8924, allocations: 29.83 MB / 0.6728 GB, free: 136.1 MB / 426.8 MB Notification: Performance of pre-optimization done (n=4937): time 4.037e-06/0.8925, allocations: 0 / 0.6728 GB, free: 136.1 MB / 426.8 MB Notification: Performance of matching and sorting (n=4941): time 10.14/11.03, allocations: 2.896 GB / 3.569 GB, free: 1.484 MB / 1.932 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.246/11.28, allocations: 7.21 MB / 3.576 GB, free: 1.661 GB / 1.932 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/11.28, allocations: 1.501 MB / 3.577 GB, free: 1.661 GB / 1.932 GB Notification: Performance of collectPreVariables (initialization): time 0.005322/11.29, allocations: 3.933 MB / 3.581 GB, free: 1.659 GB / 1.932 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009612/11.29, allocations: 1.031 MB / 3.582 GB, free: 1.658 GB / 1.932 GB Notification: Performance of collectInitialBindings (initialization): time 0.02262/11.31, allocations: 21.23 MB / 3.603 GB, free: 1.638 GB / 1.932 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004937/11.32, allocations: 1.496 MB / 3.604 GB, free: 1.636 GB / 1.932 GB Notification: Performance of setup shared object (initialization): time 0.004758/11.32, allocations: 3.458 MB / 3.607 GB, free: 1.633 GB / 1.932 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03982/11.36, allocations: 26.2 MB / 3.633 GB, free: 1.607 GB / 1.932 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05902/11.42, allocations: 57.91 MB / 3.69 GB, free: 1.536 GB / 1.932 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05125/11.47, allocations: 37.72 MB / 3.726 GB, free: 1.5 GB / 1.932 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001243/11.47, allocations: 304 kB / 3.727 GB, free: 1.499 GB / 1.932 GB Notification: Performance of matching and sorting (n=9772) (initialization): time 0.1445/11.62, allocations: 85.56 MB / 3.81 GB, free: 1.416 GB / 1.932 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008325/11.62, allocations: 481.7 kB / 3.811 GB, free: 1.415 GB / 1.932 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001595/11.62, allocations: 1.031 MB / 3.812 GB, free: 1.414 GB / 1.932 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004644/11.62, allocations: 2.441 MB / 3.814 GB, free: 1.412 GB / 1.932 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03505/11.66, allocations: 10.54 MB / 3.824 GB, free: 1.401 GB / 1.932 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/11.67, allocations: 12.65 MB / 3.837 GB, free: 1.389 GB / 1.932 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02807/11.7, allocations: 2.426 MB / 3.839 GB, free: 1.386 GB / 1.932 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007861/11.71, allocations: 3.562 MB / 3.843 GB, free: 1.383 GB / 1.932 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.02095/11.73, allocations: 14.49 MB / 3.857 GB, free: 1.369 GB / 1.932 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002768/11.73, allocations: 2.215 MB / 3.859 GB, free: 1.366 GB / 1.932 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666/18.4, allocations: 8.841 GB / 12.7 GB, free: 0.5264 GB / 1.932 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/18.4, allocations: 19.78 kB / 12.7 GB, free: 0.5264 GB / 1.932 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/18.4, allocations: 4 kB / 12.7 GB, free: 0.5264 GB / 1.932 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/18.4, allocations: 3.984 kB / 12.7 GB, free: 0.5264 GB / 1.932 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.543/25.94, allocations: 8.861 GB / 21.56 GB, free: 1.259 GB / 1.932 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/25.94, allocations: 4.609 kB / 21.56 GB, free: 1.259 GB / 1.932 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007182/25.94, allocations: 163.2 kB / 21.56 GB, free: 1.258 GB / 1.932 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002398/25.94, allocations: 0.8049 MB / 21.56 GB, free: 1.258 GB / 1.932 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001807/25.94, allocations: 0.6249 MB / 21.56 GB, free: 1.257 GB / 1.932 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008225/25.95, allocations: 10.4 MB / 21.57 GB, free: 1.246 GB / 1.932 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/25.95, allocations: 6.031 kB / 21.57 GB, free: 1.246 GB / 1.932 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.581/33.53, allocations: 8.895 GB / 30.47 GB, free: 353.6 MB / 1.932 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009022/33.54, allocations: 4.807 MB / 30.47 GB, free: 349.6 MB / 1.932 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002218/33.54, allocations: 0.6211 MB / 30.47 GB, free: 348.9 MB / 1.932 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005025/33.55, allocations: 0.6677 MB / 30.47 GB, free: 348.3 MB / 1.932 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001786/33.55, allocations: 0.5556 MB / 30.47 GB, free: 347.7 MB / 1.932 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001062/33.55, allocations: 0.6269 MB / 30.47 GB, free: 347.1 MB / 1.932 GB Notification: Performance of sorting global known variables: time 0.001358/33.55, allocations: 1.056 MB / 30.48 GB, free: 346 MB / 1.932 GB Notification: Performance of sort global known variables: time 2.71e-07/33.55, allocations: 0 / 30.48 GB, free: 346 MB / 1.932 GB Notification: Performance of remove unused functions: time 0.038/33.59, allocations: 9.514 MB / 30.49 GB, free: 336.5 MB / 1.932 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.003184/33.59, allocations: 0.9472 MB / 30.49 GB, free: 335.7 MB / 1.932 GB Notification: Performance of simCode: created initialization part: time 0.0945/33.69, allocations: 81.74 MB / 30.57 GB, free: 254.3 MB / 1.932 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/33.69, allocations: 0 / 30.57 GB, free: 254.3 MB / 1.932 GB Notification: Performance of simCode: created simulation system equations: time 53.9/87.59, allocations: 28.59 GB / 59.15 GB, free: 0.8526 GB / 2.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009061/87.6, allocations: 1.672 MB / 59.15 GB, free: 0.851 GB / 2.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08952/87.69, allocations: 66.86 MB / 59.22 GB, free: 0.7859 GB / 2.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01832/87.71, allocations: 8.826 MB / 59.23 GB, free: 0.7772 GB / 2.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009653/87.72, allocations: 1.273 MB / 59.23 GB, free: 0.776 GB / 2.245 GB Notification: Performance of SimCode: time 1.042e-06/87.72, allocations: 0 / 59.23 GB, free: 0.776 GB / 2.245 GB Notification: Performance of Templates: time 2.543/90.26, allocations: 1.407 GB / 60.64 GB, free: 1.258 GB / 2.245 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