Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.0009775/0.0009775, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009831/0.0009831, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 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.9663/0.9663, allocations: 173.3 MB / 201.5 MB, free: 9.32 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.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 268.1 MB, free: 6.688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.399e-05, allocations: 2.312 kB / 268.1 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.021/0.02103, allocations: 10.54 MB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006457/0.02748, allocations: 3.17 MB / 281.8 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.02892, allocations: 115.2 kB / 281.9 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.03043, allocations: 0.7373 MB / 282.7 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.03286, allocations: 1.226 MB / 283.9 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.03365, allocations: 479.4 kB / 284.4 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004712/0.03836, allocations: 5.304 MB / 289.7 MB, free: 1.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1162/0.1546, allocations: 2.444 MB / 292.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005581/0.1601, allocations: 3.623 MB / 295.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004114/0.1643, allocations: 2.734 MB / 298.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001634/0.1659, allocations: 0.6232 MB / 299.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.1673, allocations: 0.7 MB / 299.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.1684, allocations: 1.723 MB / 301.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002718/0.1711, allocations: 1.956 MB / 303.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003928/0.1751, allocations: 4.595 MB / 308.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1751, allocations: 0 / 308.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1751, allocations: 0 / 308.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001943/0.1753, allocations: 3.5 kB / 308.1 MB, free: 12.57 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.006827/0.1821, allocations: 5.434 MB / 313.5 MB, free: 9.391 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1821, allocations: 11.36 kB / 313.5 MB, free: 9.391 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.1834, allocations: 0.8984 MB / 314.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/0.1863, allocations: 2.602 MB / 317 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-05/0.1864, allocations: 292 kB / 317.3 MB, free: 6.215 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/0.1867, allocations: 391.9 kB / 317.7 MB, free: 5.836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004184/0.1909, allocations: 3.45 MB / 321.1 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-05/0.191, allocations: 7.469 kB / 321.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/0.1912, allocations: 159.1 kB / 321.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.1913, allocations: 212 kB / 321.5 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002752/0.1941, allocations: 1.462 MB / 323 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.2079, allocations: 12.81 MB / 335.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.2105, allocations: 2.328 MB / 338.1 MB, free: 1.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.2121, allocations: 1.314 MB / 339.4 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.2123, allocations: 77.72 kB / 339.5 MB, free: 112 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.2123, allocations: 67.39 kB / 339.6 MB, free: 32 kB / 282.7 MB Notification: Performance of pre-optimization done (n=249): time 4.799e-06/0.2123, allocations: 0 / 339.6 MB, free: 32 kB / 282.7 MB Notification: Performance of matching and sorting (n=256): time 0.01027/0.2226, allocations: 5.709 MB / 345.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.2226, allocations: 77.42 kB / 345.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.2248, allocations: 1.846 MB / 347.2 MB, free: 8.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.2249, allocations: 69.7 kB / 347.3 MB, free: 8.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009145/0.2258, allocations: 1.802 MB / 349.1 MB, free: 6.418 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005815/0.2264, allocations: 0.9118 MB / 350 MB, free: 5.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004692/0.2269, allocations: 446.9 kB / 350.4 MB, free: 5.074 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.227, allocations: 480.8 kB / 350.9 MB, free: 4.602 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007274/0.2277, allocations: 376.5 kB / 351.2 MB, free: 4.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009684/0.2287, allocations: 0.8128 MB / 352.1 MB, free: 3.293 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.2305, allocations: 1.32 MB / 353.4 MB, free: 1.848 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.2305, allocations: 4 kB / 353.4 MB, free: 1.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.003581/0.234, allocations: 2.247 MB / 355.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.2341, allocations: 8 kB / 355.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.2341, allocations: 7.938 kB / 355.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/0.2367, allocations: 1.118 MB / 356.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/0.2375, allocations: 393.9 kB / 357.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/0.2523, allocations: 24.29 MB / 381.4 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.2539, allocations: 95.92 kB / 381.5 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.2541, allocations: 72 kB / 381.6 MB, free: 4.559 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001064/0.2551, allocations: 306.1 kB / 381.9 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005169/0.2556, allocations: 370.2 kB / 382.3 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/0.259, allocations: 2.274 MB / 384.5 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.259, allocations: 27.94 kB / 384.6 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.259, allocations: 8 kB / 384.6 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.259, allocations: 11.95 kB / 384.6 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008258/0.2673, allocations: 5.633 MB / 390.2 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.2673, allocations: 0 / 390.2 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/0.2679, allocations: 282.1 kB / 390.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002466/0.2704, allocations: 1.114 MB / 391.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.2705, allocations: 63.91 kB / 391.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.2846, allocations: 24.12 MB / 415.8 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2846, allocations: 7.562 kB / 415.8 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004507/0.2891, allocations: 2.827 MB / 418.6 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009737/0.2901, allocations: 0.5274 MB / 419.1 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.2903, allocations: 51.98 kB / 419.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006439/0.2909, allocations: 123.9 kB / 419.3 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004083/0.2913, allocations: 240.8 kB / 419.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.381e-05/0.2914, allocations: 63.98 kB / 419.6 MB, free: 13.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001254/0.2927, allocations: 1.066 MB / 420.7 MB, free: 12.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.2927, allocations: 0 / 420.7 MB, free: 12.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00254/0.2952, allocations: 0.9453 MB / 421.6 MB, free: 11.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000614/0.2958, allocations: 256.6 kB / 421.9 MB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003811/0.2997, allocations: 3.671 MB / 425.5 MB, free: 7.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2997, allocations: 0 / 425.5 MB, free: 7.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.3021, allocations: 3.122 MB / 428.7 MB, free: 3.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.3041, allocations: 0.7479 MB / 429.4 MB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1097/0.4139, allocations: 7.154 MB / 436.6 MB, free: 119.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.4153, allocations: 1.251 MB / 437.8 MB, free: 118.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0013/0.4166, allocations: 418.3 kB / 438.2 MB, free: 118.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/0.417, allocations: 152.5 kB / 438.4 MB, free: 118.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.014e-06/0.417, allocations: 3.812 kB / 438.4 MB, free: 118.9 MB / 378.7 MB Notification: Performance of Templates: time 0.05156/0.4685, allocations: 52.42 MB / 490.8 MB, free: 80.68 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.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: 4.490477605024353]