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.001802/0.001802, allocations: 81.58 kB / 20.68 MB, free: 1.023 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.002108/0.002108, allocations: 151.1 kB / 23.94 MB, free: 4.164 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.399/1.399, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.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 1.733e-06/1.733e-06, allocations: 0 / 318.9 MB, free: 3.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.034e-05, allocations: 10.16 kB / 319 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01039/0.01041, allocations: 9.369 MB / 328.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007332/0.01774, allocations: 3.081 MB / 331.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.01994, allocations: 109.2 kB / 331.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.02212, allocations: 0.7299 MB / 332.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00415/0.02627, allocations: 1.225 MB / 333.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.02761, allocations: 473.5 kB / 333.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007221/0.03483, allocations: 5.333 MB / 339.3 MB, free: 6.047 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00384/0.03867, allocations: 2.431 MB / 341.7 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008967/0.04764, allocations: 3.549 MB / 345.2 MB, free: 1.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005415/0.05306, allocations: 2.514 MB / 347.8 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001185/0.05424, allocations: 0.6211 MB / 348.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.0562, allocations: 0.7068 MB / 349.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001675/0.05788, allocations: 1.698 MB / 350.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003318/0.06119, allocations: 1.93 MB / 352.7 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009484/0.07068, allocations: 8.551 MB / 361.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.07068, allocations: 4 kB / 361.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.07069, allocations: 0 / 361.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002006/0.07089, allocations: 4 kB / 361.3 MB, free: 1.051 MB / 318.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.01179/0.08268, allocations: 5.1 MB / 366.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.08272, allocations: 8.922 kB / 366.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001534/0.08425, allocations: 0.5681 MB / 367 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005151/0.0894, allocations: 2.825 MB / 369.8 MB, free: 8.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002568/0.08966, allocations: 292.2 kB / 370.1 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007038/0.09036, allocations: 395.9 kB / 370.4 MB, free: 7.746 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.1012, allocations: 6.12 MB / 376.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.978e-05/0.1013, allocations: 3.938 kB / 376.6 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004204/0.1017, allocations: 164 kB / 376.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002309/0.1019, allocations: 208 kB / 376.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009626/0.1116, allocations: 5.016 MB / 382 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02557/0.1371, allocations: 14.12 MB / 396.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006073/0.1432, allocations: 3.894 MB / 400 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003918/0.1471, allocations: 2.447 MB / 402.4 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/0.1474, allocations: 57.97 kB / 402.5 MB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.974e-05/0.1475, allocations: 64.56 kB / 402.5 MB, free: 7.316 MB / 366.1 MB Notification: Performance of pre-optimization done (n=249): time 5.37e-06/0.1475, allocations: 3.938 kB / 402.5 MB, free: 7.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=256): time 0.02193/0.1694, allocations: 10 MB / 412.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.636e-05/0.1695, allocations: 85.36 kB / 412.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/0.173, allocations: 2.184 MB / 414.8 MB, free: 10.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002524/0.1733, allocations: 69.7 kB / 414.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.1746, allocations: 1.7 MB / 416.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008706/0.1755, allocations: 0.8753 MB / 417.5 MB, free: 8.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007318/0.1762, allocations: 412.7 kB / 417.9 MB, free: 7.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1764, allocations: 301.1 kB / 418.1 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/0.1787, allocations: 1.34 MB / 419.5 MB, free: 6.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/0.1811, allocations: 1.65 MB / 421.1 MB, free: 4.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004944/0.1861, allocations: 3.083 MB / 424.2 MB, free: 1.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.1861, allocations: 4 kB / 424.2 MB, free: 1.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008547/0.1946, allocations: 4.404 MB / 428.6 MB, free: 12.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.1947, allocations: 8 kB / 428.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.1947, allocations: 4 kB / 428.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005704/0.2004, allocations: 1.639 MB / 430.3 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.202, allocations: 391.5 kB / 430.7 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02834/0.2304, allocations: 24.23 MB / 454.9 MB, free: 1.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/0.2327, allocations: 111.9 kB / 455 MB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003063/0.233, allocations: 79.98 kB / 455.1 MB, free: 1.242 MB / 414.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.002829/0.2358, allocations: 1.399 MB / 456.5 MB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007562/0.2366, allocations: 274.4 kB / 456.7 MB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008301/0.2449, allocations: 4.318 MB / 461.1 MB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/0.2449, allocations: 24 kB / 461.1 MB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.2449, allocations: 8 kB / 461.1 MB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/0.2449, allocations: 16.02 kB / 461.1 MB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/0.2605, allocations: 7.759 MB / 468.9 MB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.2605, allocations: 0 / 468.9 MB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.2618, allocations: 291.6 kB / 469.2 MB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005558/0.2673, allocations: 1.624 MB / 470.8 MB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/0.2675, allocations: 59.98 kB / 470.8 MB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1804/0.4479, allocations: 23.98 MB / 494.8 MB, free: 110.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4479, allocations: 1.219 kB / 494.8 MB, free: 110.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/0.4581, allocations: 6.029 MB / 0.4891 GB, free: 108.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/0.4602, allocations: 0.5814 MB / 0.4897 GB, free: 108.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007315/0.4609, allocations: 55.19 kB / 0.4897 GB, free: 108.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.4623, allocations: 122.7 kB / 0.4898 GB, free: 108.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006827/0.463, allocations: 225.7 kB / 0.4901 GB, free: 108 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/0.4632, allocations: 68.88 kB / 0.4901 GB, free: 108 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002316/0.4655, allocations: 1.521 MB / 0.4916 GB, free: 107.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4655, allocations: 0.8125 kB / 0.4916 GB, free: 107.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003566/0.4691, allocations: 0.9541 MB / 0.4925 GB, free: 107.3 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.0005874/0.4697, allocations: 258 kB / 0.4928 GB, free: 107.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005735/0.4754, allocations: 4.755 MB / 0.4974 GB, free: 104.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.4754, allocations: 0 / 0.4974 GB, free: 104.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003677/0.4791, allocations: 3.274 MB / 0.5006 GB, free: 102.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/0.4819, allocations: 0.7298 MB / 0.5013 GB, free: 102.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.4947, allocations: 8.409 MB / 0.5096 GB, free: 94.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002321/0.4971, allocations: 2.635 MB / 0.5121 GB, free: 92.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001424/0.4985, allocations: 0.5134 MB / 0.5126 GB, free: 91.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.4989, allocations: 152.5 kB / 0.5128 GB, free: 91.59 MB / 430.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4989, allocations: 5.797 kB / 0.5128 GB, free: 91.59 MB / 430.1 MB Notification: Performance of Templates: time 0.07032/0.5692, allocations: 51.97 MB / 0.5635 GB, free: 40.31 MB / 430.1 MB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/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: 7.043429870158434]