Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.001762/0.001762, allocations: 74.25 kB / 21.24 MB, free: 0.5469 MB / 14.72 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.001684/0.001684, allocations: 159.3 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 177.2 MB / 204.9 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 50.58 kB / 325.6 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08812/0.08972, allocations: 53.34 MB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01174/0.1015, allocations: 9.378 MB / 388.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00709/0.1085, allocations: 3.143 MB / 391.5 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.1101, allocations: 107.2 kB / 391.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.1119, allocations: 0.741 MB / 392.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.115, allocations: 1.181 MB / 393.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009759/0.116, allocations: 483.5 kB / 394 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006112/0.1221, allocations: 5.139 MB / 399.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003435/0.1255, allocations: 2.429 MB / 401.5 MB, free: 8.875 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004663/0.1302, allocations: 2.446 MB / 404 MB, free: 6.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00485/0.135, allocations: 2.786 MB / 406.8 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.1362, allocations: 0.6289 MB / 407.4 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.1378, allocations: 0.6991 MB / 408.1 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001645/0.1395, allocations: 1.648 MB / 409.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003403/0.1429, allocations: 2.249 MB / 412 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009461/0.1524, allocations: 8.491 MB / 420.5 MB, free: 5.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1524, allocations: 0 / 420.5 MB, free: 5.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1524, allocations: 0 / 420.5 MB, free: 5.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001677/0.1525, allocations: 0 / 420.5 MB, free: 5.895 MB / 382.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.01156/0.1641, allocations: 5.159 MB / 425.6 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1641, allocations: 15.97 kB / 425.6 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.1659, allocations: 0.5954 MB / 426.2 MB, free: 64 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005895/0.1718, allocations: 2.838 MB / 429.1 MB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.1721, allocations: 299.8 kB / 429.4 MB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007736/0.1728, allocations: 380 kB / 429.7 MB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.1846, allocations: 6.135 MB / 435.9 MB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.803e-05/0.1847, allocations: 3.938 kB / 435.9 MB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004082/0.1851, allocations: 160 kB / 436 MB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002348/0.1854, allocations: 208 kB / 436.2 MB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009579/0.1949, allocations: 5.016 MB / 441.3 MB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02559/0.2205, allocations: 14.12 MB / 455.4 MB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005934/0.2265, allocations: 3.886 MB / 459.3 MB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00389/0.2304, allocations: 2.451 MB / 461.7 MB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/0.2306, allocations: 57.95 kB / 461.8 MB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.174e-05/0.2307, allocations: 64.56 kB / 461.8 MB, free: 12.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 5.169e-06/0.2307, allocations: 0 / 461.8 MB, free: 12.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.02125/0.2519, allocations: 10.01 MB / 471.8 MB, free: 1.945 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.252, allocations: 85.41 kB / 471.9 MB, free: 1.848 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2103/0.4623, allocations: 2.193 MB / 474.1 MB, free: 81.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000431/0.4627, allocations: 69.05 kB / 474.2 MB, free: 81.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.4639, allocations: 1.705 MB / 475.9 MB, free: 81.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006514/0.4645, allocations: 0.8851 MB / 476.8 MB, free: 80.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006149/0.4651, allocations: 412.1 kB / 477.2 MB, free: 80.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.4652, allocations: 310.2 kB / 477.5 MB, free: 80.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/0.4672, allocations: 1.335 MB / 478.8 MB, free: 79.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/0.4694, allocations: 1.651 MB / 480.5 MB, free: 79.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004308/0.4737, allocations: 3.082 MB / 483.6 MB, free: 77.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.567e-05/0.4737, allocations: 1.406 kB / 483.6 MB, free: 77.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.0069/0.4806, allocations: 4.397 MB / 488 MB, free: 75.92 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.4806, allocations: 12.2 kB / 488 MB, free: 75.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.4806, allocations: 6.5 kB / 488 MB, free: 75.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004689/0.4853, allocations: 1.642 MB / 489.6 MB, free: 75.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.4868, allocations: 390.9 kB / 490 MB, free: 75.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/0.5049, allocations: 24.26 MB / 0.5022 GB, free: 54.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.5068, allocations: 95.86 kB / 0.5023 GB, free: 54.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/0.507, allocations: 87.97 kB / 0.5024 GB, free: 54.12 MB / 430.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.001767/0.5087, allocations: 1.408 MB / 0.5038 GB, free: 52.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004804/0.5092, allocations: 274.3 kB / 0.504 GB, free: 52.44 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005757/0.515, allocations: 4.312 MB / 0.5082 GB, free: 48.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.515, allocations: 27.94 kB / 0.5083 GB, free: 48.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.515, allocations: 8 kB / 0.5083 GB, free: 48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/0.515, allocations: 11.95 kB / 0.5083 GB, free: 47.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.5254, allocations: 7.757 MB / 0.5158 GB, free: 40.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.5254, allocations: 0 / 0.5158 GB, free: 40.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.5264, allocations: 299.6 kB / 0.5161 GB, free: 39.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004447/0.5309, allocations: 1.609 MB / 0.5177 GB, free: 38.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.531, allocations: 59.98 kB / 0.5178 GB, free: 38.21 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/0.5486, allocations: 24.01 MB / 0.5412 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.5486, allocations: 0 / 0.5412 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/0.56, allocations: 6.031 MB / 0.5471 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/0.5619, allocations: 0.5879 MB / 0.5477 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004758/0.5624, allocations: 51.98 kB / 0.5477 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/0.5642, allocations: 127.9 kB / 0.5478 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006123/0.5648, allocations: 213.6 kB / 0.5481 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/0.565, allocations: 71.98 kB / 0.5481 GB, free: 6.047 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00198/0.567, allocations: 1.535 MB / 0.5496 GB, free: 4.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.567, allocations: 0 / 0.5496 GB, free: 4.492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003153/0.5701, allocations: 0.9435 MB / 0.5505 GB, free: 3.551 MB / 430.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.0005149/0.5706, allocations: 252.2 kB / 0.5508 GB, free: 3.309 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00611/0.5767, allocations: 4.775 MB / 0.5554 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.5767, allocations: 1.562 kB / 0.5554 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005031/0.5818, allocations: 3.273 MB / 0.5586 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/0.585, allocations: 0.7315 MB / 0.5594 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.5996, allocations: 8.592 MB / 0.5677 GB, free: 1.688 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00377/0.6034, allocations: 2.632 MB / 0.5703 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002341/0.6058, allocations: 0.5251 MB / 0.5708 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/0.6063, allocations: 152.5 kB / 0.571 GB, free: 14.34 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/0.6063, allocations: 0 / 0.571 GB, free: 14.34 MB / 462.1 MB Notification: Performance of Templates: time 0.09085/0.6971, allocations: 52.33 MB / 0.6221 GB, free: 10.69 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.078701645019464]