Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009301/0.0009301, allocations: 83.89 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008882/0.0008882, allocations: 145.1 kB / 24.54 MB, free: 28 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.973/0.973, allocations: 173.4 MB / 201.1 MB, free: 9.285 MB / 186.7 MB " [Timeout remaining time 179] 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) 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.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 268 MB, free: 6.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.674e-05, allocations: 2.312 kB / 268 MB, free: 6.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.0076/0.007626, allocations: 6.816 MB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003901/0.01153, allocations: 2.251 MB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007689/0.0123, allocations: 59.62 kB / 277.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009753/0.01327, allocations: 456.9 kB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.0147, allocations: 0.7258 MB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.01512, allocations: 275.5 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002225/0.01734, allocations: 2.929 MB / 281.5 MB, free: 8.816 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/0.01901, allocations: 1.344 MB / 282.8 MB, free: 7.406 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002753/0.02176, allocations: 2.012 MB / 284.9 MB, free: 5.422 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.02373, allocations: 1.508 MB / 286.4 MB, free: 3.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006934/0.02442, allocations: 348 kB / 286.7 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008332/0.02526, allocations: 431.8 kB / 287.1 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007152/0.02597, allocations: 0.9466 MB / 288.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.02771, allocations: 1.076 MB / 289.1 MB, free: 1.121 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1503/0.178, allocations: 2.555 MB / 291.7 MB, free: 20.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.178, allocations: 0.5156 kB / 291.7 MB, free: 20.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.178, allocations: 0 / 291.7 MB, free: 20.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001461/0.1781, allocations: 0 / 291.7 MB, free: 20.9 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008514/0.1866, allocations: 3.161 MB / 294.9 MB, free: 19.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.1867, allocations: 11.14 kB / 294.9 MB, free: 19.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/0.1911, allocations: 498.7 kB / 295.4 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006546/0.1976, allocations: 1.481 MB / 296.8 MB, free: 19.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.1978, allocations: 165.3 kB / 297 MB, free: 19.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005116/0.1983, allocations: 221.4 kB / 297.2 MB, free: 19.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.2091, allocations: 1.903 MB / 299.1 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.77e-05/0.2092, allocations: 1.281 kB / 299.1 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/0.2094, allocations: 93.38 kB / 299.2 MB, free: 18.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/0.2096, allocations: 106.6 kB / 299.3 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003316/0.2129, allocations: 0.8019 MB / 300.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.2232, allocations: 6.975 MB / 307.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.2247, allocations: 1.135 MB / 308.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008447/0.2255, allocations: 0.6372 MB / 308.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.2257, allocations: 50.25 kB / 308.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.2258, allocations: 57.56 kB / 309 MB, free: 14.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 5.841e-06/0.2258, allocations: 6.406 kB / 309 MB, free: 14.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.00598/0.2318, allocations: 3.059 MB / 312 MB, free: 12.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.2318, allocations: 68.38 kB / 312.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.2329, allocations: 1.081 MB / 313.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.55e-05/0.233, allocations: 47.8 kB / 313.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/0.2333, allocations: 1.048 MB / 314.3 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/0.2335, allocations: 481.9 kB / 314.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.2337, allocations: 247.9 kB / 315 MB, free: 10.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.387e-05/0.2338, allocations: 0.5472 MB / 315.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.2341, allocations: 186.5 kB / 315.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.2346, allocations: 436.6 kB / 316.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007292/0.2353, allocations: 0.6903 MB / 316.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.2353, allocations: 0 / 316.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001539/0.2369, allocations: 1.164 MB / 318 MB, free: 7.207 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2369, allocations: 8.031 kB / 318 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.2369, allocations: 7.938 kB / 318 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.2382, allocations: 0.5605 MB / 318.6 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/0.2386, allocations: 197.5 kB / 318.8 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006521/0.2451, allocations: 10.29 MB / 329.1 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009391/0.2461, allocations: 59.89 kB / 329.1 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.23e-05/0.2462, allocations: 47.55 kB / 329.2 MB, free: 11.64 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0008956/0.2471, allocations: 223.7 kB / 329.4 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/0.2474, allocations: 191.1 kB / 329.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.2493, allocations: 1.183 MB / 330.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.2493, allocations: 12 kB / 330.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.2493, allocations: 8 kB / 330.8 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.2493, allocations: 7.969 kB / 330.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005117/0.2545, allocations: 3.079 MB / 333.9 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.2545, allocations: 4 kB / 333.9 MB, free: 6.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/0.2549, allocations: 150.8 kB / 334 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.2563, allocations: 0.5607 MB / 334.6 MB, free: 6.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.8e-05/0.2563, allocations: 31.98 kB / 334.6 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007657/0.264, allocations: 10.21 MB / 344.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.264, allocations: 0 / 344.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.2668, allocations: 1.554 MB / 346.4 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008819/0.2677, allocations: 291 kB / 346.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.2678, allocations: 32 kB / 346.7 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.2682, allocations: 71.94 kB / 346.7 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/0.2684, allocations: 132.8 kB / 346.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.02e-05/0.2685, allocations: 35.94 kB / 346.9 MB, free: 9.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008588/0.2693, allocations: 0.6514 MB / 347.6 MB, free: 8.758 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2693, allocations: 4 kB / 347.6 MB, free: 8.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001739/0.2711, allocations: 0.5078 MB / 348.1 MB, free: 8.246 MB / 298.7 MB 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: 6 (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 simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005422/0.2716, allocations: 211.1 kB / 348.3 MB, free: 8.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.2737, allocations: 1.707 MB / 350 MB, free: 6.289 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.2737, allocations: 4 kB / 350 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.275, allocations: 1.409 MB / 351.4 MB, free: 4.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.2763, allocations: 411.4 kB / 351.8 MB, free: 4.434 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006388/0.2827, allocations: 3.935 MB / 355.7 MB, free: 452 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007899/0.2835, allocations: 0.6937 MB / 356.4 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007927/0.2843, allocations: 231.8 kB / 356.7 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.2845, allocations: 88.48 kB / 356.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of SimCode: time 2.244e-06/0.2845, allocations: 6.906 kB / 356.8 MB, free: 15.4 MB / 314.7 MB Notification: Performance of Templates: time 0.04243/0.3269, allocations: 29.2 MB / 385.9 MB, free: 2.641 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.805037572979927]