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.001124/0.001124, allocations: 83.89 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001042/0.001042, allocations: 141.1 kB / 24.54 MB, free: 28 kB / 18.57 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 0.9376/0.9376, allocations: 173.3 MB / 201.1 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 268 MB, free: 6.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.024e-05, allocations: 2.312 kB / 268 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.00921/0.00923, allocations: 10.59 MB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006759/0.01599, allocations: 3.17 MB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.01757, allocations: 111.2 kB / 281.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.01888, allocations: 0.7451 MB / 282.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002585/0.02147, allocations: 1.222 MB / 283.9 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008355/0.02231, allocations: 475.4 kB / 284.3 MB, free: 6.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004074/0.02638, allocations: 5.316 MB / 289.6 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1306/0.1569, allocations: 2.435 MB / 292.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006116/0.163, allocations: 3.62 MB / 295.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004756/0.1678, allocations: 2.731 MB / 298.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001505/0.1693, allocations: 0.6225 MB / 299.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.171, allocations: 0.7045 MB / 299.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.1723, allocations: 1.725 MB / 301.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002253/0.1745, allocations: 1.954 MB / 303.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003983/0.1785, allocations: 4.599 MB / 308 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1785, allocations: 0.9688 kB / 308 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1785, allocations: 0 / 308 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.079e-05/0.1786, allocations: 0.6875 kB / 308 MB, free: 12.52 MB / 266.7 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.005037/0.1836, allocations: 5.435 MB / 313.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1836, allocations: 11.61 kB / 313.5 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.1847, allocations: 0.8917 MB / 314.4 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/0.1871, allocations: 2.605 MB / 317 MB, free: 6.387 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.1873, allocations: 287.8 kB / 317.3 MB, free: 6.109 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003373/0.1876, allocations: 399.1 kB / 317.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003694/0.1913, allocations: 3.449 MB / 321.1 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.788e-05/0.1913, allocations: 3.938 kB / 321.1 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002272/0.1916, allocations: 161.9 kB / 321.3 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.1917, allocations: 208 kB / 321.5 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.1943, allocations: 1.475 MB / 322.9 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/0.2085, allocations: 12.8 MB / 335.7 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/0.211, allocations: 2.336 MB / 338.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.2126, allocations: 1.302 MB / 339.4 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.2129, allocations: 78.02 kB / 339.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.2129, allocations: 70.33 kB / 339.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 4.168e-06/0.2129, allocations: 0 / 339.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.009869/0.2228, allocations: 5.71 MB / 345.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.2228, allocations: 77.42 kB / 345.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.225, allocations: 1.845 MB / 347.2 MB, free: 8.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.912e-05/0.2251, allocations: 73.7 kB / 347.2 MB, free: 8.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009083/0.226, allocations: 1.804 MB / 349 MB, free: 6.301 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005302/0.2266, allocations: 0.9143 MB / 349.9 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004588/0.227, allocations: 442.9 kB / 350.4 MB, free: 4.957 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.2271, allocations: 476.8 kB / 350.8 MB, free: 4.488 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000645/0.2278, allocations: 384.3 kB / 351.2 MB, free: 4.113 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008821/0.2286, allocations: 0.8052 MB / 352 MB, free: 3.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.2303, allocations: 1.322 MB / 353.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2303, allocations: 0 / 353.3 MB, free: 1.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.003373/0.2336, allocations: 2.248 MB / 355.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.2337, allocations: 15.88 kB / 355.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.2337, allocations: 8 kB / 355.6 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002444/0.2361, allocations: 1.108 MB / 356.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/0.2369, allocations: 394.2 kB / 357.1 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/0.2508, allocations: 24.3 MB / 381.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.2519, allocations: 87.94 kB / 381.5 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.252, allocations: 79.98 kB / 381.6 MB, free: 4.438 MB / 330.7 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.0008909/0.2529, allocations: 297.4 kB / 381.9 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/0.2533, allocations: 374.2 kB / 382.2 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003868/0.2572, allocations: 2.274 MB / 384.5 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.2572, allocations: 24 kB / 384.5 MB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.2572, allocations: 8 kB / 384.5 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.2572, allocations: 11.95 kB / 384.5 MB, free: 1.422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008734/0.266, allocations: 5.638 MB / 390.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.266, allocations: 3.938 kB / 390.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008147/0.2668, allocations: 282.8 kB / 390.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003199/0.27, allocations: 1.118 MB / 391.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.2701, allocations: 59.92 kB / 391.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/0.2864, allocations: 24.11 MB / 415.8 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2864, allocations: 0 / 415.8 MB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004885/0.2912, allocations: 2.83 MB / 418.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.2923, allocations: 0.5274 MB / 419.1 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.2925, allocations: 56.05 kB / 419.2 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008281/0.2933, allocations: 127.9 kB / 419.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004172/0.2938, allocations: 228.9 kB / 419.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002625/0.294, allocations: 71.98 kB / 419.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001425/0.2955, allocations: 1.07 MB / 420.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2955, allocations: 0 / 420.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003067/0.2985, allocations: 0.9453 MB / 421.6 MB, free: 11.19 MB / 378.7 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.000541/0.2991, allocations: 250.4 kB / 421.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004088/0.3031, allocations: 3.668 MB / 425.5 MB, free: 7.102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3032, allocations: 4 kB / 425.5 MB, free: 7.098 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00303/0.3062, allocations: 3.114 MB / 428.6 MB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.3083, allocations: 0.7514 MB / 429.4 MB, free: 3.047 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1194/0.4277, allocations: 7.162 MB / 436.5 MB, free: 115.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.4289, allocations: 1.25 MB / 437.8 MB, free: 114.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001366/0.4303, allocations: 419.7 kB / 438.2 MB, free: 114.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.4307, allocations: 156.2 kB / 438.4 MB, free: 114.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/0.4307, allocations: 0 / 438.4 MB, free: 114.9 MB / 378.7 MB Notification: Performance of Templates: time 0.05802/0.4887, allocations: 52.42 MB / 490.8 MB, free: 77.7 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.728792459703982]