Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.0009434/0.0009434, allocations: 85.17 kB / 21.5 MB, free: 2.984 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.001/0.001, allocations: 139.9 kB / 24.89 MB, free: 9.215 MB / 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.9406/0.9406, allocations: 173.3 MB / 201.5 MB, free: 9.199 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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 4 kB / 268.5 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133e-05/1.302e-05, allocations: 2.312 kB / 268.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.004991/0.005004, allocations: 6.699 MB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003371/0.008375, allocations: 2.316 MB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004732/0.008848, allocations: 59.56 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007039/0.009552, allocations: 476.8 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.0106, allocations: 0.7141 MB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.01094, allocations: 275.5 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.01296, allocations: 2.944 MB / 282 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.0142, allocations: 1.375 MB / 283.4 MB, free: 7.145 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.01628, allocations: 2.008 MB / 285.4 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.0176, allocations: 1.52 MB / 286.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.0179, allocations: 348 kB / 287.2 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.01835, allocations: 427.8 kB / 287.6 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004825/0.01883, allocations: 0.9466 MB / 288.6 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007773/0.01961, allocations: 1.08 MB / 289.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.09953/0.1191, allocations: 2.554 MB / 292.2 MB, free: 21.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1191, allocations: 0 / 292.2 MB, free: 21.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1191, allocations: 0 / 292.2 MB, free: 21.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.068e-05/0.1192, allocations: 1.125 kB / 292.2 MB, free: 21.06 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.004247/0.1235, allocations: 2.771 MB / 295 MB, free: 19.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1235, allocations: 11.11 kB / 295 MB, free: 19.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009431/0.1245, allocations: 413.3 kB / 295.4 MB, free: 19.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.126, allocations: 0.983 MB / 296.4 MB, free: 19.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.1261, allocations: 168.5 kB / 296.6 MB, free: 19.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/0.1264, allocations: 214.4 kB / 296.8 MB, free: 19.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.1289, allocations: 1.794 MB / 298.6 MB, free: 19.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.129, allocations: 5.625 kB / 298.6 MB, free: 19.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.1291, allocations: 89.09 kB / 298.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.1293, allocations: 111.5 kB / 298.8 MB, free: 19.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.1307, allocations: 0.6448 MB / 299.4 MB, free: 18.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006342/0.137, allocations: 4.99 MB / 304.4 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009843/0.138, allocations: 0.9833 MB / 305.4 MB, free: 16.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006174/0.1386, allocations: 0.5244 MB / 305.9 MB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.1388, allocations: 47.67 kB / 306 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1388, allocations: 46.25 kB / 306 MB, free: 16.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.647e-06/0.1388, allocations: 0 / 306 MB, free: 16.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003937/0.1427, allocations: 2.211 MB / 308.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.035e-05/0.1427, allocations: 66.86 kB / 308.3 MB, free: 16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/0.1434, allocations: 0.8484 MB / 309.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/0.1434, allocations: 49.52 kB / 309.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.1437, allocations: 0.809 MB / 310 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.1439, allocations: 466.6 kB / 310.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.1441, allocations: 206.5 kB / 310.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.617e-05/0.1442, allocations: 358.1 kB / 311 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.1444, allocations: 153.7 kB / 311.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.1447, allocations: 297.1 kB / 311.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.1451, allocations: 0.5567 MB / 312 MB, free: 14.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1451, allocations: 6.938 kB / 312 MB, free: 14.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0009365/0.1461, allocations: 0.8499 MB / 312.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1461, allocations: 8 kB / 312.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1461, allocations: 4.438 kB / 312.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009946/0.1471, allocations: 0.5026 MB / 313.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.1475, allocations: 229.4 kB / 313.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.151, allocations: 7.42 MB / 321 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.1513, allocations: 32 kB / 321 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.1514, allocations: 31.98 kB / 321.1 MB, free: 5.109 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003082/0.1517, allocations: 184.7 kB / 321.2 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.1518, allocations: 143.8 kB / 321.4 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009699/0.1528, allocations: 0.896 MB / 322.3 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1528, allocations: 12 kB / 322.3 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1528, allocations: 4 kB / 322.3 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1528, allocations: 7.969 kB / 322.3 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.1552, allocations: 2.357 MB / 324.7 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1552, allocations: 4 kB / 324.7 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.1556, allocations: 182.5 kB / 324.8 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009856/0.1566, allocations: 0.5042 MB / 325.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.1566, allocations: 37.17 kB / 325.4 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004373/0.161, allocations: 7.459 MB / 332.8 MB, free: 9.391 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.161, allocations: 10.34 kB / 332.9 MB, free: 9.383 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.1623, allocations: 1.186 MB / 334 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.1626, allocations: 187.2 kB / 334.2 MB, free: 8.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.1627, allocations: 31.98 kB / 334.3 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.1631, allocations: 47.98 kB / 334.3 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.1632, allocations: 116.8 kB / 334.4 MB, free: 7.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.1633, allocations: 24 kB / 334.4 MB, free: 7.809 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003672/0.1636, allocations: 436 kB / 334.9 MB, free: 7.422 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1636, allocations: 0 / 334.9 MB, free: 7.422 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001205/0.1648, allocations: 0.5078 MB / 335.4 MB, free: 6.914 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003395/0.1652, allocations: 195 kB / 335.6 MB, free: 6.738 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.1664, allocations: 1.338 MB / 336.9 MB, free: 5.395 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/0.1664, allocations: 16 kB / 336.9 MB, free: 5.379 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008554/0.1673, allocations: 1.089 MB / 338 MB, free: 4.273 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008489/0.1681, allocations: 423.6 kB / 338.4 MB, free: 3.867 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.1722, allocations: 3.795 MB / 342.2 MB, free: 52 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.1727, allocations: 0.5726 MB / 342.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003115/0.173, allocations: 151.9 kB / 342.9 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006176/0.1736, allocations: 395 kB / 343.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of SimCode: time 9.91e-07/0.1736, allocations: 0 / 343.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of Templates: time 0.03327/0.2069, allocations: 30.96 MB / 374.3 MB, free: 492 kB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.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: 3.2519789841026068]