Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009815/0.0009815, allocations: 162.8 kB / 25.45 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8921/0.8921, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_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.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 299.7 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.635e-05, allocations: 2.281 kB / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.00487/0.004886, allocations: 6.067 MB / 305.8 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.007177, allocations: 2.236 MB / 308 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003157/0.007493, allocations: 55.56 kB / 308.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006735/0.008167, allocations: 464.8 kB / 308.5 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008912/0.009058, allocations: 0.7102 MB / 309.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.009352, allocations: 299.5 kB / 309.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.0112, allocations: 3.01 MB / 312.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000961/0.01216, allocations: 1.252 MB / 313.8 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.01378, allocations: 1.95 MB / 315.7 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.01493, allocations: 1.387 MB / 317.1 MB, free: 5.367 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002651/0.01519, allocations: 348 kB / 317.5 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004066/0.0156, allocations: 443.7 kB / 317.9 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004462/0.01605, allocations: 0.9193 MB / 318.8 MB, free: 3.672 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009939/0.01704, allocations: 1.06 MB / 319.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.01963, allocations: 4.698 MB / 324.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.01963, allocations: 4 kB / 324.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01963, allocations: 0 / 324.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.084e-05/0.01966, allocations: 0 / 324.6 MB, free: 13.89 MB / 314.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.003024/0.02269, allocations: 2.92 MB / 327.5 MB, free: 10.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.02272, allocations: 12.02 kB / 327.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00042/0.02314, allocations: 327.1 kB / 327.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.02483, allocations: 1.474 MB / 329.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.707e-05/0.02491, allocations: 164.8 kB / 329.5 MB, free: 8.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.02511, allocations: 215.9 kB / 329.7 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003399/0.02851, allocations: 3.358 MB / 333 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.02854, allocations: 3.984 kB / 333 MB, free: 5.207 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.02867, allocations: 88 kB / 333.1 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.962e-05/0.02874, allocations: 108.4 kB / 333.2 MB, free: 5.012 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.03192, allocations: 2.723 MB / 336 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007805/0.03972, allocations: 7.638 MB / 343.6 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.04156, allocations: 1.926 MB / 345.5 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.04278, allocations: 1.234 MB / 346.8 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.04293, allocations: 49.28 kB / 346.8 MB, free: 7.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.04295, allocations: 47.81 kB / 346.8 MB, free: 7.242 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 2.525e-06/0.04295, allocations: 0 / 346.8 MB, free: 7.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.00628/0.04923, allocations: 5.252 MB / 352.1 MB, free: 1.953 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.04927, allocations: 64.72 kB / 352.2 MB, free: 1.879 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.05046, allocations: 1.278 MB / 353.4 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.05051, allocations: 49.7 kB / 353.5 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.135/0.1855, allocations: 0.964 MB / 354.5 MB, free: 59.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004843/0.186, allocations: 459.2 kB / 354.9 MB, free: 58.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/0.1864, allocations: 220 kB / 355.1 MB, free: 58.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.287e-05/0.1864, allocations: 358.3 kB / 355.5 MB, free: 58.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009937/0.1874, allocations: 0.6919 MB / 356.2 MB, free: 58.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008784/0.1883, allocations: 0.8713 MB / 357 MB, free: 58.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.19, allocations: 1.603 MB / 358.6 MB, free: 57.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.19, allocations: 1.469 kB / 358.6 MB, free: 57.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002916/0.1929, allocations: 2.281 MB / 360.9 MB, free: 56.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.1929, allocations: 10.53 kB / 360.9 MB, free: 56.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.193, allocations: 5.875 kB / 360.9 MB, free: 56.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001523/0.1945, allocations: 0.8251 MB / 361.8 MB, free: 56.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.1949, allocations: 198.1 kB / 362 MB, free: 56.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007187/0.2021, allocations: 10.88 MB / 372.8 MB, free: 48.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.2026, allocations: 53.02 kB / 372.9 MB, free: 48.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.2027, allocations: 42.38 kB / 372.9 MB, free: 48.44 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0009223/0.2036, allocations: 0.8223 MB / 373.7 MB, free: 48.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.2038, allocations: 152.8 kB / 373.9 MB, free: 47.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.2059, allocations: 2.24 MB / 376.1 MB, free: 46.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.2059, allocations: 14.97 kB / 376.1 MB, free: 46.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2059, allocations: 7.719 kB / 376.2 MB, free: 46.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2059, allocations: 7.969 kB / 376.2 MB, free: 46.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003761/0.2096, allocations: 4.14 MB / 380.3 MB, free: 42.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2096, allocations: 9.125 kB / 380.3 MB, free: 42.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.2099, allocations: 155.8 kB / 380.5 MB, free: 42.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/0.2111, allocations: 0.8049 MB / 381.3 MB, free: 41.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/0.2111, allocations: 32.55 kB / 381.3 MB, free: 41.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005568/0.2167, allocations: 10.76 MB / 392.1 MB, free: 30.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2167, allocations: 4.031 kB / 392.1 MB, free: 30.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.2192, allocations: 3.197 MB / 395.3 MB, free: 27.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/0.2197, allocations: 331 kB / 395.6 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.693e-05/0.2197, allocations: 24 kB / 395.6 MB, free: 27.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.2201, allocations: 75.94 kB / 395.7 MB, free: 26.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.2202, allocations: 121 kB / 395.8 MB, free: 26.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.2203, allocations: 35.98 kB / 395.8 MB, free: 26.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007254/0.221, allocations: 0.8991 MB / 396.7 MB, free: 25.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.221, allocations: 0 / 396.7 MB, free: 25.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001133/0.2221, allocations: 0.5118 MB / 397.2 MB, free: 25.38 MB / 330.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.0003658/0.2225, allocations: 200.3 kB / 397.4 MB, free: 25.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.2244, allocations: 2.34 MB / 399.8 MB, free: 22.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.2244, allocations: 4 kB / 399.8 MB, free: 22.79 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.2255, allocations: 1.589 MB / 401.4 MB, free: 21.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/0.2264, allocations: 405.6 kB / 401.8 MB, free: 20.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.2306, allocations: 4.551 MB / 406.3 MB, free: 16.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000948/0.2316, allocations: 1.419 MB / 407.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.2317, allocations: 92.48 kB / 407.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2317, allocations: 0 / 407.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of Templates: time 0.04906/0.2808, allocations: 74.68 MB / 482.5 MB, free: 3.816 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.874120705761015]