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.001819/0.001819, allocations: 85.25 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.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.001495/0.001495, allocations: 168.8 kB / 23.96 MB, free: 4.148 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.458/1.458, allocations: 177.1 MB / 204.3 MB, free: 9.168 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 1.873e-06/1.873e-06, allocations: 0 / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.261e-05, allocations: 7.344 kB / 325.1 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01153/0.01155, allocations: 9.396 MB / 334.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007336/0.01889, allocations: 3.144 MB / 337.6 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/0.02124, allocations: 109 kB / 337.8 MB, free: 7.457 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.02329, allocations: 0.731 MB / 338.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003557/0.02684, allocations: 1.224 MB / 339.7 MB, free: 5.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.02799, allocations: 490.7 kB / 340.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00666/0.03465, allocations: 5.329 MB / 345.5 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003674/0.03832, allocations: 2.437 MB / 348 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006945/0.04527, allocations: 3.537 MB / 351.5 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004099/0.04937, allocations: 2.517 MB / 354 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009577/0.05032, allocations: 0.625 MB / 354.6 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.05185, allocations: 0.7069 MB / 355.3 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001604/0.05346, allocations: 1.691 MB / 357 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003463/0.05692, allocations: 1.937 MB / 359 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01084/0.06776, allocations: 8.566 MB / 367.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.06776, allocations: 0 / 367.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.06776, allocations: 0 / 367.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002092/0.06797, allocations: 0 / 367.5 MB, free: 10.52 MB / 334.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.01346/0.08143, allocations: 5.112 MB / 372.6 MB, free: 5.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.08148, allocations: 8.031 kB / 372.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.08342, allocations: 0.5993 MB / 373.2 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006306/0.08973, allocations: 2.837 MB / 376.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.09001, allocations: 296.2 kB / 376.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008465/0.09085, allocations: 387.9 kB / 376.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/0.1026, allocations: 6.135 MB / 382.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-05/0.1027, allocations: 0 / 382.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004426/0.1031, allocations: 164 kB / 383.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002377/0.1033, allocations: 204 kB / 383.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.1135, allocations: 5.012 MB / 388.3 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02809/0.1415, allocations: 14.12 MB / 402.4 MB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006325/0.1479, allocations: 3.89 MB / 406.3 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003945/0.1518, allocations: 2.466 MB / 408.7 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/0.1521, allocations: 57.95 kB / 408.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.006e-05/0.1522, allocations: 64.56 kB / 408.9 MB, free: 0.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=249): time 5.02e-06/0.1522, allocations: 0 / 408.9 MB, free: 0.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=256): time 0.02328/0.1754, allocations: 10 MB / 418.9 MB, free: 6.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/0.1755, allocations: 81.42 kB / 418.9 MB, free: 6.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004224/0.1798, allocations: 2.204 MB / 421.1 MB, free: 4.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004804/0.1802, allocations: 69.7 kB / 421.2 MB, free: 4.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001517/0.1817, allocations: 1.7 MB / 422.9 MB, free: 2.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.1828, allocations: 0.8675 MB / 423.8 MB, free: 1.625 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007366/0.1835, allocations: 412.7 kB / 424.2 MB, free: 1.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1836, allocations: 305.1 kB / 424.5 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/0.186, allocations: 1.34 MB / 425.8 MB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/0.1888, allocations: 1.65 MB / 427.5 MB, free: 13.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005301/0.1941, allocations: 3.083 MB / 430.6 MB, free: 10.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.1941, allocations: 0 / 430.6 MB, free: 10.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.009226/0.2033, allocations: 4.4 MB / 435 MB, free: 6.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.2034, allocations: 8 kB / 435 MB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.2034, allocations: 12.06 kB / 435 MB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005966/0.2094, allocations: 1.643 MB / 436.6 MB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/0.2112, allocations: 391.5 kB / 437 MB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03062/0.2418, allocations: 24.24 MB / 461.2 MB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.244, allocations: 103.7 kB / 461.3 MB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/0.2442, allocations: 76 kB / 461.4 MB, free: 10.62 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.0031/0.2473, allocations: 1.408 MB / 462.8 MB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007071/0.248, allocations: 278.3 kB / 463.1 MB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008514/0.2565, allocations: 4.322 MB / 467.4 MB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-05/0.2565, allocations: 24 kB / 467.4 MB, free: 4.496 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.366e-05/0.2566, allocations: 8 kB / 467.4 MB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.454e-05/0.2566, allocations: 11.95 kB / 467.5 MB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.174/0.4306, allocations: 7.759 MB / 475.2 MB, free: 123.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.4306, allocations: 4.422 kB / 475.2 MB, free: 123.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.4319, allocations: 289.8 kB / 475.5 MB, free: 123.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00523/0.4371, allocations: 1.608 MB / 477.1 MB, free: 123 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/0.4373, allocations: 60.09 kB / 477.2 MB, free: 123 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0195/0.4568, allocations: 23.99 MB / 0.4894 GB, free: 105.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4568, allocations: 3.828 kB / 0.4894 GB, free: 105.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00738/0.4642, allocations: 6.033 MB / 0.4953 GB, free: 103.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/0.4654, allocations: 0.583 MB / 0.4959 GB, free: 102.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/0.4658, allocations: 51.58 kB / 0.4959 GB, free: 102.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.4671, allocations: 124 kB / 0.496 GB, free: 102.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000497/0.4676, allocations: 224.4 kB / 0.4963 GB, free: 102.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.4677, allocations: 66.14 kB / 0.4963 GB, free: 102.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001752/0.4695, allocations: 1.531 MB / 0.4978 GB, free: 100.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4695, allocations: 0 / 0.4978 GB, free: 100.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002859/0.4723, allocations: 0.9524 MB / 0.4987 GB, free: 99.99 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.0005274/0.4728, allocations: 262.6 kB / 0.499 GB, free: 99.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005609/0.4785, allocations: 4.753 MB / 0.5036 GB, free: 94.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4785, allocations: 0 / 0.5036 GB, free: 94.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003738/0.4822, allocations: 3.278 MB / 0.5068 GB, free: 91.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/0.4853, allocations: 0.7264 MB / 0.5075 GB, free: 90.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.4965, allocations: 8.418 MB / 0.5158 GB, free: 82.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/0.4988, allocations: 2.639 MB / 0.5183 GB, free: 79.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001432/0.5002, allocations: 0.5251 MB / 0.5189 GB, free: 79.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/0.5006, allocations: 152.5 kB / 0.519 GB, free: 79.1 MB / 430.1 MB Notification: Performance of SimCode: time 7.12e-07/0.5006, allocations: 0 / 0.519 GB, free: 79.1 MB / 430.1 MB Notification: Performance of Templates: time 0.06638/0.567, allocations: 51.99 MB / 0.5698 GB, free: 27.81 MB / 430.1 MB " [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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/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.183885555714369]