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.001263/0.001263, allocations: 108.6 kB / 21.18 MB, free: 0.7539 MB / 14.72 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.001331/0.001331, allocations: 193.1 kB / 24.47 MB, free: 4.156 MB / 14.72 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 1.413/1.413, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 51.92 kB / 371.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2414, allocations: 52.17 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01316/0.2546, allocations: 10.79 MB / 434.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006969/0.2615, allocations: 3.201 MB / 437.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.2635, allocations: 107.2 kB / 438 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002382/0.2659, allocations: 0.7294 MB / 438.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003798/0.2697, allocations: 1.189 MB / 439.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.2712, allocations: 475.4 kB / 440.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006911/0.2781, allocations: 5.128 MB / 445.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004694/0.2828, allocations: 2.512 MB / 448 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005441/0.2882, allocations: 2.437 MB / 450.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005141/0.2933, allocations: 2.833 MB / 453.3 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001848/0.2952, allocations: 0.6211 MB / 453.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.2976, allocations: 0.7069 MB / 454.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002714/0.3004, allocations: 1.644 MB / 456.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005204/0.3056, allocations: 2.766 MB / 459 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.3169, allocations: 8.436 MB / 467.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.3169, allocations: 0 / 467.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.317, allocations: 0 / 467.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002623/0.3172, allocations: 3.938 kB / 467.5 MB, free: 2.891 MB / 366.1 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.01466/0.3319, allocations: 5.151 MB / 472.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3319, allocations: 8.031 kB / 472.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.3344, allocations: 0.572 MB / 473.2 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007255/0.3417, allocations: 2.822 MB / 476 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003234/0.342, allocations: 295.8 kB / 476.3 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001373/0.3434, allocations: 383.9 kB / 476.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01335/0.3567, allocations: 5.801 MB / 482.5 MB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.009e-05/0.3568, allocations: 7.922 kB / 482.5 MB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005447/0.3573, allocations: 160 kB / 482.7 MB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002214/0.3576, allocations: 204 kB / 482.9 MB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.3679, allocations: 5.028 MB / 487.9 MB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03297/0.4009, allocations: 16.1 MB / 0.4922 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006909/0.4078, allocations: 3.9 MB / 0.496 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00429/0.4121, allocations: 2.45 MB / 0.4984 GB, free: 7.602 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003298/0.4124, allocations: 65.97 kB / 0.4985 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.592e-05/0.4125, allocations: 60.5 kB / 0.4985 GB, free: 7.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 4.579e-06/0.4125, allocations: 4 kB / 0.4985 GB, free: 7.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02253/0.435, allocations: 10.04 MB / 0.5083 GB, free: 13.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.435, allocations: 81.42 kB / 0.5084 GB, free: 13.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004755/0.4398, allocations: 2.624 MB / 0.511 GB, free: 10.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003675/0.4402, allocations: 69.7 kB / 0.511 GB, free: 10.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001489/0.4417, allocations: 1.679 MB / 0.5127 GB, free: 8.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.4427, allocations: 0.887 MB / 0.5135 GB, free: 7.938 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008946/0.4436, allocations: 412.7 kB / 0.5139 GB, free: 7.527 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4438, allocations: 305.1 kB / 0.5142 GB, free: 7.227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/0.4461, allocations: 1.336 MB / 0.5155 GB, free: 5.887 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002648/0.4488, allocations: 1.662 MB / 0.5171 GB, free: 4.129 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00502/0.4538, allocations: 3.076 MB / 0.5201 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/0.4538, allocations: 4 kB / 0.5202 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.0087/0.4625, allocations: 4.435 MB / 0.5245 GB, free: 12.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.4625, allocations: 8 kB / 0.5245 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.4626, allocations: 8 kB / 0.5245 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005841/0.4684, allocations: 1.643 MB / 0.5261 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.4701, allocations: 391.5 kB / 0.5265 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2174/0.6875, allocations: 24.72 MB / 0.5506 GB, free: 93.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.6894, allocations: 94.42 kB / 0.5507 GB, free: 93.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002381/0.6897, allocations: 82.33 kB / 0.5508 GB, free: 93.3 MB / 446.1 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.001989/0.6917, allocations: 1.399 MB / 0.5521 GB, free: 92.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006361/0.6923, allocations: 312.7 kB / 0.5524 GB, free: 92.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006582/0.6989, allocations: 4.334 MB / 0.5567 GB, free: 90.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.6989, allocations: 24.66 kB / 0.5567 GB, free: 90.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.6989, allocations: 10.81 kB / 0.5567 GB, free: 90.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.6989, allocations: 11.95 kB / 0.5567 GB, free: 90.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/0.7118, allocations: 8.737 MB / 0.5653 GB, free: 85.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.7118, allocations: 0 / 0.5653 GB, free: 85.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.713, allocations: 290.4 kB / 0.5655 GB, free: 84.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00473/0.7177, allocations: 1.624 MB / 0.5671 GB, free: 83.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003281/0.718, allocations: 59.98 kB / 0.5672 GB, free: 83.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01868/0.7367, allocations: 24.45 MB / 0.5911 GB, free: 57.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7367, allocations: 0 / 0.5911 GB, free: 57.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007869/0.7446, allocations: 6.073 MB / 0.597 GB, free: 51.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/0.7464, allocations: 0.6248 MB / 0.5976 GB, free: 51.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005401/0.747, allocations: 59.92 kB / 0.5977 GB, free: 51.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.7485, allocations: 123.8 kB / 0.5978 GB, free: 51.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000491/0.749, allocations: 222 kB / 0.598 GB, free: 50.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.7491, allocations: 60 kB / 0.598 GB, free: 50.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002445/0.7516, allocations: 1.848 MB / 0.5998 GB, free: 48.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7516, allocations: 0 / 0.5998 GB, free: 48.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003851/0.7554, allocations: 0.9571 MB / 0.6008 GB, free: 47.95 MB / 446.1 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.0007149/0.7561, allocations: 262.6 kB / 0.601 GB, free: 47.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006275/0.7624, allocations: 4.76 MB / 0.6057 GB, free: 42.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.7624, allocations: 0 / 0.6057 GB, free: 42.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004263/0.7667, allocations: 3.272 MB / 0.6089 GB, free: 39.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003971/0.7706, allocations: 0.9616 MB / 0.6098 GB, free: 38.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/0.7834, allocations: 8.601 MB / 0.6182 GB, free: 29.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002288/0.7857, allocations: 3.087 MB / 0.6212 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007205/0.7865, allocations: 179.4 kB / 0.6214 GB, free: 26.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7865, allocations: 4 kB / 0.6214 GB, free: 26.55 MB / 446.1 MB Notification: Performance of Templates: time 0.4396/1.226, allocations: 261.7 MB / 0.877 GB, free: 62.55 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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: 19.79113486618735]