Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.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 3.2.3+maint.om/package.mo", uses=false) 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 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.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_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_Modelica.Blocks.Examples.Rectifier6pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008993/0.0008993, allocations: 96.11 kB / 16.94 MB, free: 6.441 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.001002/0.001002, allocations: 187.5 kB / 17.83 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005799/0.0005803, allocations: 12 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1236, allocations: 47.59 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Rectifier6pulseFFT): time 0.00784/0.1315, allocations: 5.712 MB / 334 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006275/0.1379, allocations: 2.819 MB / 336.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.1395, allocations: 39.75 kB / 336.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.1417, allocations: 446 kB / 337.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00395/0.1457, allocations: 1.147 MB / 338.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.1478, allocations: 355.3 kB / 338.8 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003753/0.1515, allocations: 2.028 MB / 340.9 MB, free: 7.535 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002063/0.1536, allocations: 1.583 MB / 342.4 MB, free: 5.922 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.1555, allocations: 1.36 MB / 343.8 MB, free: 4.559 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002056/0.1576, allocations: 1.699 MB / 345.5 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.1579, allocations: 156 kB / 345.6 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.159, allocations: 411.6 kB / 346.1 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00299/0.162, allocations: 4.296 MB / 350.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002263/0.1643, allocations: 2.154 MB / 352.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.1745, allocations: 9.293 MB / 361.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1745, allocations: 0 / 361.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1745, allocations: 0 / 361.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0004954/0.175, allocations: 4 kB / 361.8 MB, free: 2.5 MB / 302.1 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.02171/0.1967, allocations: 15.1 MB / 376.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.1968, allocations: 8.031 kB / 376.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004306/0.2011, allocations: 1.483 MB / 378.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3115/0.5127, allocations: 2.866 MB / 381.3 MB, free: 45.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003592/0.5131, allocations: 164.3 kB / 381.4 MB, free: 45.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/0.5145, allocations: 219.2 kB / 381.6 MB, free: 45.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0746/0.5891, allocations: 26.92 MB / 408.6 MB, free: 29.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.5893, allocations: 2.922 kB / 408.6 MB, free: 29.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007968/0.5901, allocations: 89.56 kB / 408.6 MB, free: 28.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/0.5903, allocations: 113.9 kB / 408.8 MB, free: 28.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04055/0.6309, allocations: 24.42 MB / 433.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03064/0.6616, allocations: 14.71 MB / 447.9 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07729/0.7389, allocations: 82.39 MB / 0.5178 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/0.7393, allocations: 127.1 kB / 0.518 GB, free: 3.109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2617/1.001, allocations: 29.81 MB / 0.5471 GB, free: 147.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4937): time 5.66e-06/1.001, allocations: 1.438 kB / 0.5471 GB, free: 147.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=4941): time 12.52/13.52, allocations: 2.9 GB / 3.447 GB, free: 472 kB / 1.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006124/13.52, allocations: 7.197 MB / 3.454 GB, free: 9.535 MB / 1.936 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/13.53, allocations: 1.503 MB / 3.455 GB, free: 8.016 MB / 1.936 GB Notification: Performance of collectPreVariables (initialization): time 0.00624/13.53, allocations: 3.928 MB / 3.459 GB, free: 4.07 MB / 1.936 GB Notification: Performance of collectInitialEqns (initialization): time 0.001481/13.54, allocations: 1.027 MB / 3.46 GB, free: 3.031 MB / 1.936 GB Notification: Performance of collectInitialBindings (initialization): time 0.3834/13.92, allocations: 21.23 MB / 3.481 GB, free: 1.63 GB / 1.951 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007168/13.93, allocations: 1.492 MB / 3.482 GB, free: 1.63 GB / 1.951 GB Notification: Performance of setup shared object (initialization): time 0.007245/13.93, allocations: 3.46 MB / 3.486 GB, free: 1.628 GB / 1.951 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0552/13.99, allocations: 26.22 MB / 3.511 GB, free: 1.618 GB / 1.951 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.07732/14.07, allocations: 57.61 MB / 3.568 GB, free: 1.563 GB / 1.951 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05443/14.12, allocations: 37.73 MB / 3.604 GB, free: 1.535 GB / 1.951 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001795/14.12, allocations: 304 kB / 3.605 GB, free: 1.535 GB / 1.951 GB Notification: Performance of matching and sorting (n=9772) (initialization): time 0.1519/14.27, allocations: 85.58 MB / 3.688 GB, free: 1.453 GB / 1.951 GB Notification: Performance of prepare postOptimizeDAE: time 0.003746/14.28, allocations: 485.7 kB / 3.689 GB, free: 1.453 GB / 1.951 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005351/14.28, allocations: 1.027 MB / 3.69 GB, free: 1.452 GB / 1.951 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008976/14.29, allocations: 2.438 MB / 3.692 GB, free: 1.449 GB / 1.951 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03868/14.33, allocations: 10.55 MB / 3.702 GB, free: 1.439 GB / 1.951 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/14.34, allocations: 12.84 MB / 3.715 GB, free: 1.426 GB / 1.951 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03151/14.38, allocations: 2.422 MB / 3.717 GB, free: 1.424 GB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01064/14.39, allocations: 3.562 MB / 3.721 GB, free: 1.42 GB / 1.951 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4822 * 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.03109/14.42, allocations: 14.49 MB / 3.735 GB, free: 1.406 GB / 1.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003558/14.42, allocations: 2.216 MB / 3.737 GB, free: 1.405 GB / 1.951 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.352/22.77, allocations: 8.841 GB / 12.58 GB, free: 0.6865 GB / 1.951 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/22.77, allocations: 12 kB / 12.58 GB, free: 0.6865 GB / 1.951 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/22.77, allocations: 4 kB / 12.58 GB, free: 0.6865 GB / 1.951 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.899e-05/22.77, allocations: 5.016 kB / 12.58 GB, free: 0.6865 GB / 1.951 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.092/31.87, allocations: 8.861 GB / 21.44 GB, free: 1.556 GB / 1.951 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.808e-05/31.87, allocations: 0 / 21.44 GB, free: 1.556 GB / 1.951 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009482/31.87, allocations: 165.3 kB / 21.44 GB, free: 1.556 GB / 1.951 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002791/31.87, allocations: 0.812 MB / 21.44 GB, free: 1.555 GB / 1.951 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003356/31.87, allocations: 0.6197 MB / 21.44 GB, free: 1.555 GB / 1.951 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/31.88, allocations: 10.62 MB / 21.45 GB, free: 1.548 GB / 1.951 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/31.88, allocations: 0 / 21.45 GB, free: 1.548 GB / 1.951 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.245/40.13, allocations: 8.895 GB / 30.35 GB, free: 0.766 GB / 1.951 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01144/40.14, allocations: 4.808 MB / 30.35 GB, free: 0.7621 GB / 1.951 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002777/40.14, allocations: 0.625 MB / 30.35 GB, free: 0.7615 GB / 1.951 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006064/40.15, allocations: 0.667 MB / 30.35 GB, free: 0.7608 GB / 1.951 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004683/40.15, allocations: 0.5575 MB / 30.35 GB, free: 0.7603 GB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001852/40.16, allocations: 0.6211 MB / 30.35 GB, free: 0.7597 GB / 1.951 GB Notification: Performance of sorting global known variables: time 0.00177/40.16, allocations: 1.053 MB / 30.35 GB, free: 0.7586 GB / 1.951 GB Notification: Performance of sort global known variables: time 2.81e-07/40.16, allocations: 0 / 30.35 GB, free: 0.7586 GB / 1.951 GB Notification: Performance of remove unused functions: time 0.03987/40.2, allocations: 9.521 MB / 30.36 GB, free: 0.7494 GB / 1.951 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (82): * Single equations (assignments): 76 * 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.002461/40.2, allocations: 0.9507 MB / 30.36 GB, free: 0.7485 GB / 1.951 GB Notification: Performance of simCode: created initialization part: time 0.09748/40.3, allocations: 81.77 MB / 30.44 GB, free: 0.669 GB / 1.951 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/40.3, allocations: 0 / 30.44 GB, free: 0.669 GB / 1.951 GB Notification: Performance of simCode: created simulation system equations: time 61.13/101.4, allocations: 28.59 GB / 59.03 GB, free: 2.048 GB / 2.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007105/101.4, allocations: 1.051 MB / 59.03 GB, free: 2.048 GB / 2.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09723/101.5, allocations: 65.6 MB / 59.1 GB, free: 2.005 GB / 2.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01299/101.5, allocations: 9.133 MB / 59.11 GB, free: 1.996 GB / 2.436 GB Notification: Performance of simCode: alias equations: time 0.008832/101.6, allocations: 4.088 MB / 59.11 GB, free: 1.992 GB / 2.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006043/101.6, allocations: 1.265 MB / 59.11 GB, free: 1.991 GB / 2.436 GB Notification: Performance of SimCode: time 1.503e-06/101.6, allocations: 0 / 59.11 GB, free: 1.991 GB / 2.436 GB Notification: Performance of Templates: time 0.3673/101.9, allocations: 260.4 MB / 59.37 GB, free: 1.737 GB / 2.436 GB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_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_Modelica.Blocks.Examples.Rectifier6pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches