Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT") translateModel(Modelica.Blocks.Examples.Rectifier6pulseFFT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001277/0.001277, allocations: 204.1 kB / 18.07 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.5 MB / 245.4 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007313/0.0007313, allocations: 105.5 kB / 297.4 MB, free: 6.863 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002133/0.0002134, allocations: 8 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2009, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.3089, allocations: 94.81 MB / 0.4917 GB, free: 12.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.3092, allocations: 77.75 kB / 0.4917 GB, free: 12.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5906/0.8998, allocations: 114.4 MB / 0.6035 GB, free: 6.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.8998, allocations: 0 / 0.6035 GB, free: 6.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004813/0.9003, allocations: 215.9 kB / 0.6037 GB, free: 6.34 MB / 378.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.02476/0.9251, allocations: 14.37 MB / 0.6177 GB, free: 7.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.9252, allocations: 12.03 kB / 0.6178 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004222/0.9294, allocations: 1.519 MB / 0.6192 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00912/0.9385, allocations: 4.383 MB / 0.6235 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.9388, allocations: 168.8 kB / 0.6237 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.9401, allocations: 224.3 kB / 0.6239 GB, free: 1.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04159/0.9817, allocations: 25.34 MB / 0.6486 GB, free: 7.961 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.086e-05/0.9818, allocations: 3.938 kB / 0.6486 GB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001284/0.9831, allocations: 88 kB / 0.6487 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.9833, allocations: 120.5 kB / 0.6488 GB, free: 7.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03465/1.018, allocations: 22.09 MB / 0.6704 GB, free: 1.641 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3916/1.41, allocations: 21.18 MB / 0.6911 GB, free: 86.9 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04417/1.454, allocations: 80.19 MB / 0.7694 GB, free: 26.8 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2401/1.694, allocations: 79.07 MB / 0.8466 GB, free: 108.5 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/1.694, allocations: 139 kB / 0.8468 GB, free: 108.4 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03201/1.726, allocations: 28.26 MB / 0.8744 GB, free: 107.7 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4937): time 5.089e-06/1.726, allocations: 1.594 kB / 0.8744 GB, free: 107.7 MB / 474.8 MB Notification: Performance of matching and sorting (n=4941): time 9.741/11.47, allocations: 2.901 GB / 3.776 GB, free: 15.95 MB / 1.964 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005273/11.47, allocations: 7.195 MB / 3.783 GB, free: 9.027 MB / 1.964 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/11.48, allocations: 1.503 MB / 3.784 GB, free: 7.512 MB / 1.964 GB Notification: Performance of collectPreVariables (initialization): time 0.005658/11.48, allocations: 3.933 MB / 3.788 GB, free: 3.562 MB / 1.964 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/11.48, allocations: 1.031 MB / 3.789 GB, free: 2.633 MB / 1.964 GB Notification: Performance of collectInitialBindings (initialization): time 0.02453/11.51, allocations: 21.23 MB / 3.81 GB, free: 13.54 MB / 1.995 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00583/11.51, allocations: 1.492 MB / 3.811 GB, free: 12.05 MB / 1.995 GB Notification: Performance of setup shared object (initialization): time 0.007259/11.52, allocations: 3.461 MB / 3.815 GB, free: 8.578 MB / 1.995 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04729/11.57, allocations: 26.19 MB / 3.84 GB, free: 14.36 MB / 2.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3348/11.9, allocations: 57.88 MB / 3.897 GB, free: 1.606 GB / 2.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07842/11.98, allocations: 86.39 MB / 3.981 GB, free: 1.551 GB / 2.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001491/11.98, allocations: 300 kB / 3.981 GB, free: 1.551 GB / 2.026 GB Notification: Performance of matching and sorting (n=9771) (initialization): time 0.1397/12.12, allocations: 85.54 MB / 4.065 GB, free: 1.478 GB / 2.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.002712/12.13, allocations: 485.7 kB / 4.065 GB, free: 1.478 GB / 2.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002858/12.13, allocations: 1.03 MB / 4.066 GB, free: 1.477 GB / 2.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004386/12.13, allocations: 2.174 MB / 4.069 GB, free: 1.475 GB / 2.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03457/12.17, allocations: 10.54 MB / 4.079 GB, free: 1.464 GB / 2.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/12.18, allocations: 12.65 MB / 4.091 GB, free: 1.452 GB / 2.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03252/12.21, allocations: 2.43 MB / 4.094 GB, free: 1.449 GB / 2.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009891/12.22, allocations: 3.559 MB / 4.097 GB, free: 1.446 GB / 2.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4821 * 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 (9716): * Single equations (assignments): 9711 * 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.03251/12.25, allocations: 14.49 MB / 4.111 GB, free: 1.432 GB / 2.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00587/12.26, allocations: 2.216 MB / 4.113 GB, free: 1.431 GB / 2.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.855/19.12, allocations: 8.838 GB / 12.95 GB, free: 0.9314 GB / 2.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/19.12, allocations: 19.56 kB / 12.95 GB, free: 0.9314 GB / 2.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/19.12, allocations: 4 kB / 12.95 GB, free: 0.9314 GB / 2.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.06e-05/19.12, allocations: 7.969 kB / 12.95 GB, free: 0.9313 GB / 2.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.924/26.04, allocations: 8.86 GB / 21.81 GB, free: 408.9 MB / 2.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/26.04, allocations: 4 kB / 21.81 GB, free: 408.9 MB / 2.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007247/26.04, allocations: 161.9 kB / 21.81 GB, free: 408.7 MB / 2.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/26.04, allocations: 0.7009 MB / 21.81 GB, free: 408 MB / 2.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004156/26.05, allocations: 0.7695 MB / 21.81 GB, free: 407.3 MB / 2.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008651/26.06, allocations: 10.41 MB / 21.82 GB, free: 396.6 MB / 2.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/26.06, allocations: 1.688 kB / 21.82 GB, free: 396.6 MB / 2.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.978/34.03, allocations: 8.889 GB / 30.71 GB, free: 1.49 GB / 2.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01224/34.05, allocations: 5.904 MB / 30.72 GB, free: 1.485 GB / 2.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004864/34.05, allocations: 0.6172 MB / 30.72 GB, free: 1.485 GB / 2.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007892/34.06, allocations: 0.6666 MB / 30.72 GB, free: 1.484 GB / 2.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003899/34.06, allocations: 0.5589 MB / 30.72 GB, free: 1.483 GB / 2.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004335/34.07, allocations: 1.217 MB / 30.72 GB, free: 1.482 GB / 2.026 GB Notification: Performance of sorting global known variables: time 0.001757/34.07, allocations: 1.064 MB / 30.72 GB, free: 1.481 GB / 2.026 GB Notification: Performance of sort global known variables: time 4.51e-07/34.07, allocations: 0 / 30.72 GB, free: 1.481 GB / 2.026 GB Notification: Performance of remove unused functions: time 0.04288/34.11, allocations: 9.542 MB / 30.73 GB, free: 1.472 GB / 2.026 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.004953/34.12, allocations: 0.9948 MB / 30.73 GB, free: 1.471 GB / 2.026 GB Notification: Performance of simCode: created initialization part: time 0.1019/34.22, allocations: 81.73 MB / 30.81 GB, free: 1.392 GB / 2.026 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/34.22, allocations: 8 kB / 30.81 GB, free: 1.392 GB / 2.026 GB Notification: Performance of simCode: created simulation system equations: time 18.32/52.54, allocations: 28.58 GB / 59.39 GB, free: 0.9453 GB / 2.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01335/52.56, allocations: 1.665 MB / 59.39 GB, free: 0.9438 GB / 2.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1055/52.66, allocations: 61.18 MB / 59.45 GB, free: 0.8846 GB / 2.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01803/52.68, allocations: 8.835 MB / 59.46 GB, free: 0.8759 GB / 2.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007124/52.69, allocations: 1.269 MB / 59.46 GB, free: 0.8747 GB / 2.026 GB Notification: Performance of SimCode: time 1.082e-06/52.69, allocations: 0 / 59.46 GB, free: 0.8747 GB / 2.026 GB Notification: Performance of Templates: time 2.544/55.23, allocations: 1.408 GB / 60.87 GB, free: 1.104 GB / 2.026 GB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.makefile (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.sim & ./Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Rectifier6pulseFFT/Rectifier6pulseFFT.csv","../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.Rectifier6pulseFFT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches