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.001248/0.001248, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.001297/0.001297, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.367/1.367, allocations: 225.6 MB / 250.8 MB, free: 13.41 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.001414/0.001414, allocations: 47.92 kB / 368.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2645, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01247/0.277, allocations: 10.79 MB / 431.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00748/0.2845, allocations: 3.193 MB / 434.9 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002437/0.2869, allocations: 83.62 kB / 435 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.289, allocations: 0.7371 MB / 435.7 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003843/0.2929, allocations: 1.181 MB / 436.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.294, allocations: 467.4 kB / 437.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005938/0.2999, allocations: 5.128 MB / 442.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003293/0.3032, allocations: 2.499 MB / 445 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004183/0.3074, allocations: 2.401 MB / 447.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003911/0.3113, allocations: 2.829 MB / 450.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008606/0.3121, allocations: 0.625 MB / 450.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.3134, allocations: 0.7069 MB / 451.5 MB, free: 332 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001594/0.315, allocations: 1.64 MB / 453.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003103/0.3181, allocations: 2.77 MB / 455.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009537/0.3276, allocations: 8.436 MB / 464.4 MB, free: 3.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3276, allocations: 8 kB / 464.4 MB, free: 3.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3276, allocations: 0 / 464.4 MB, free: 3.422 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001599/0.3278, allocations: 0 / 464.4 MB, free: 3.422 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.01155/0.3393, allocations: 5.219 MB / 469.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3394, allocations: 8.031 kB / 469.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.341, allocations: 0.5681 MB / 470.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005827/0.3468, allocations: 2.87 MB / 473.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00026/0.3471, allocations: 291.8 kB / 473.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.3481, allocations: 387.9 kB / 473.7 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.3611, allocations: 5.805 MB / 479.5 MB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.199e-05/0.3611, allocations: 0 / 479.5 MB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004542/0.3616, allocations: 160 kB / 479.7 MB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002363/0.3618, allocations: 208 kB / 479.9 MB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.372, allocations: 5.028 MB / 484.9 MB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02929/0.4013, allocations: 16.22 MB / 0.4894 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007417/0.4087, allocations: 6.618 MB / 0.4958 GB, free: 6.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004024/0.4127, allocations: 2.455 MB / 0.4982 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003207/0.4131, allocations: 139.1 kB / 0.4984 GB, free: 4.371 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/0.4131, allocations: 56.56 kB / 0.4984 GB, free: 4.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 4.318e-06/0.4131, allocations: 0 / 0.4984 GB, free: 4.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02337/0.4365, allocations: 10.73 MB / 0.5089 GB, free: 9.324 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.4366, allocations: 77.42 kB / 0.509 GB, free: 9.234 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004897/0.4415, allocations: 2.624 MB / 0.5115 GB, free: 6.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005348/0.442, allocations: 69.7 kB / 0.5116 GB, free: 6.516 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.4436, allocations: 1.683 MB / 0.5133 GB, free: 4.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001303/0.4449, allocations: 0.8753 MB / 0.5141 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007877/0.4457, allocations: 420.7 kB / 0.5145 GB, free: 3.516 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4458, allocations: 305.1 kB / 0.5148 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/0.4482, allocations: 1.336 MB / 0.5161 GB, free: 1.875 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002555/0.4507, allocations: 1.647 MB / 0.5177 GB, free: 136 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004807/0.4555, allocations: 3.091 MB / 0.5207 GB, free: 12.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.4555, allocations: 3.938 kB / 0.5207 GB, free: 12.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007973/0.4635, allocations: 4.435 MB / 0.5251 GB, free: 8.398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.4635, allocations: 8 kB / 0.5251 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.4636, allocations: 4 kB / 0.5251 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005422/0.469, allocations: 1.644 MB / 0.5267 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.4706, allocations: 391.5 kB / 0.5271 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2575/0.7281, allocations: 25.76 MB / 0.5522 GB, free: 90.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/0.7305, allocations: 92.81 kB / 0.5523 GB, free: 90.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003005/0.7308, allocations: 77.75 kB / 0.5524 GB, free: 90.81 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.003542/0.7343, allocations: 1.406 MB / 0.5537 GB, free: 90.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/0.7355, allocations: 315.8 kB / 0.554 GB, free: 90.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00714/0.7426, allocations: 4.339 MB / 0.5583 GB, free: 88.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.894e-05/0.7426, allocations: 29.91 kB / 0.5583 GB, free: 88.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.551e-05/0.7426, allocations: 7.938 kB / 0.5583 GB, free: 88.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/0.7427, allocations: 9.375 kB / 0.5583 GB, free: 88.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/0.7585, allocations: 8.74 MB / 0.5669 GB, free: 80.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.7585, allocations: 4.062 kB / 0.5669 GB, free: 80.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.7596, allocations: 279.6 kB / 0.5671 GB, free: 80.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004671/0.7643, allocations: 1.629 MB / 0.5687 GB, free: 78.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003608/0.7646, allocations: 56.22 kB / 0.5688 GB, free: 78.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/0.7839, allocations: 25.5 MB / 0.5937 GB, free: 52.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7839, allocations: 4.062 kB / 0.5937 GB, free: 52.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007928/0.7919, allocations: 6.068 MB / 0.5996 GB, free: 46.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/0.7933, allocations: 0.6904 MB / 0.6003 GB, free: 45.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005087/0.7939, allocations: 51.98 kB / 0.6003 GB, free: 45.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.7952, allocations: 123.9 kB / 0.6005 GB, free: 45.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005158/0.7957, allocations: 209.6 kB / 0.6007 GB, free: 44.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.7958, allocations: 71.98 kB / 0.6007 GB, free: 44.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002344/0.7982, allocations: 1.844 MB / 0.6025 GB, free: 43.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7982, allocations: 0 / 0.6025 GB, free: 43.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004199/0.8024, allocations: 0.9572 MB / 0.6035 GB, free: 42.11 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.0007475/0.8031, allocations: 254.1 kB / 0.6037 GB, free: 41.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006052/0.8092, allocations: 4.765 MB / 0.6084 GB, free: 36.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.8092, allocations: 0 / 0.6084 GB, free: 36.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004323/0.8135, allocations: 3.283 MB / 0.6116 GB, free: 33.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005571/0.8191, allocations: 0.946 MB / 0.6125 GB, free: 32.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/0.8332, allocations: 8.65 MB / 0.6209 GB, free: 23.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/0.836, allocations: 3.173 MB / 0.624 GB, free: 20.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001757/0.8378, allocations: 0.5791 MB / 0.6246 GB, free: 20.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/0.8381, allocations: 171.4 kB / 0.6248 GB, free: 20 MB / 446.1 MB Notification: Performance of SimCode: time 1.984e-06/0.8381, allocations: 0 / 0.6248 GB, free: 20 MB / 446.1 MB Notification: Performance of Templates: time 0.1038/0.942, allocations: 61.45 MB / 0.6848 GB, free: 7.273 MB / 494.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.156533777713776]