Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001801/0.001801, allocations: 73.88 kB / 21.24 MB, free: 0.5547 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.002225/0.002225, allocations: 160.1 kB / 24.5 MB, free: 3.715 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.49/1.49, allocations: 177.2 MB / 204.9 MB, free: 8.984 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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.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.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 51.36 kB / 325.6 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09515, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008124/0.1033, allocations: 6.147 MB / 385.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004176/0.1075, allocations: 2.22 MB / 387.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005057/0.108, allocations: 63.56 kB / 387.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.109, allocations: 453 kB / 387.8 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.1105, allocations: 0.7032 MB / 388.5 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.111, allocations: 271.6 kB / 388.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003117/0.1141, allocations: 2.852 MB / 391.6 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.1159, allocations: 1.321 MB / 392.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.1183, allocations: 1.366 MB / 394.3 MB, free: 164 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.1206, allocations: 1.549 MB / 395.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004813/0.121, allocations: 348 kB / 396.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008002/0.1218, allocations: 431.8 kB / 396.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008751/0.1227, allocations: 0.896 MB / 397.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.1242, allocations: 1.245 MB / 398.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004699/0.1289, allocations: 4.664 MB / 403.4 MB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1289, allocations: 3.984 kB / 403.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1289, allocations: 0 / 403.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.819e-05/0.1289, allocations: 0 / 403.4 MB, free: 7.012 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005978/0.1349, allocations: 2.971 MB / 406.4 MB, free: 3.992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.135, allocations: 8.031 kB / 406.4 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.136, allocations: 355.1 kB / 406.7 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003043/0.1391, allocations: 1.619 MB / 408.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.1392, allocations: 160.4 kB / 408.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.1395, allocations: 216 kB / 408.7 MB, free: 1.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005337/0.1449, allocations: 3.358 MB / 412.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.1449, allocations: 0 / 412.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.1451, allocations: 91.98 kB / 412.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.1452, allocations: 108.4 kB / 412.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004612/0.1498, allocations: 2.73 MB / 415 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.163, allocations: 7.615 MB / 422.6 MB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.166, allocations: 1.939 MB / 424.6 MB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/0.168, allocations: 1.238 MB / 425.8 MB, free: 240 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/0.1682, allocations: 41.28 kB / 425.8 MB, free: 200 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.1683, allocations: 51.81 kB / 425.9 MB, free: 136 kB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 2.926e-06/0.1683, allocations: 0 / 425.9 MB, free: 136 kB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.011/0.1793, allocations: 5.29 MB / 431.2 MB, free: 10.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.1793, allocations: 64.72 kB / 431.2 MB, free: 10.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.1812, allocations: 1.282 MB / 432.5 MB, free: 9.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-05/0.1812, allocations: 49.7 kB / 432.6 MB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007561/0.182, allocations: 0.9772 MB / 433.5 MB, free: 8.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/0.1824, allocations: 464 kB / 434 MB, free: 7.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003665/0.1827, allocations: 222.9 kB / 434.2 MB, free: 7.711 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.1829, allocations: 357.9 kB / 434.6 MB, free: 7.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.1841, allocations: 0.6935 MB / 435.3 MB, free: 6.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.1853, allocations: 0.859 MB / 436.1 MB, free: 5.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/0.1878, allocations: 1.604 MB / 437.7 MB, free: 4.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1878, allocations: 0 / 437.7 MB, free: 4.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003999/0.1918, allocations: 2.283 MB / 440 MB, free: 1.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1918, allocations: 8 kB / 440 MB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.1918, allocations: 4 kB / 440 MB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002763/0.1946, allocations: 0.8189 MB / 440.8 MB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/0.1954, allocations: 207.7 kB / 441 MB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/0.2086, allocations: 10.87 MB / 451.9 MB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.2097, allocations: 47.97 kB / 452 MB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.2098, allocations: 43.98 kB / 452 MB, free: 5.383 MB / 414.1 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.001454/0.2112, allocations: 0.8176 MB / 452.8 MB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/0.2116, allocations: 151.1 kB / 453 MB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/0.2157, allocations: 2.228 MB / 455.2 MB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.2158, allocations: 24.33 kB / 455.2 MB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.2158, allocations: 8 kB / 455.2 MB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.2158, allocations: 7.922 kB / 455.2 MB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007902/0.2237, allocations: 4.157 MB / 459.4 MB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.2237, allocations: 4 kB / 459.4 MB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006925/0.2244, allocations: 159.7 kB / 459.6 MB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/0.2271, allocations: 0.8116 MB / 460.4 MB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-05/0.2272, allocations: 31.98 kB / 460.4 MB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01297/0.2401, allocations: 10.76 MB / 471.2 MB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.2401, allocations: 7.922 kB / 471.2 MB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1896/0.4298, allocations: 3.187 MB / 474.4 MB, free: 81.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009767/0.4307, allocations: 317.4 kB / 474.7 MB, free: 81.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.4309, allocations: 37.77 kB / 474.7 MB, free: 81.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007145/0.4316, allocations: 63.69 kB / 474.8 MB, free: 81.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003067/0.4319, allocations: 120.2 kB / 474.9 MB, free: 81.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.4e-05/0.432, allocations: 37.3 kB / 474.9 MB, free: 81.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001166/0.4332, allocations: 0.8996 MB / 475.8 MB, free: 81.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4332, allocations: 3.531 kB / 475.8 MB, free: 81.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001621/0.4348, allocations: 0.5135 MB / 476.3 MB, free: 81.87 MB / 430.1 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.0004385/0.4352, allocations: 203.8 kB / 476.5 MB, free: 81.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003422/0.4387, allocations: 2.348 MB / 478.9 MB, free: 81.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4387, allocations: 1.188 kB / 478.9 MB, free: 81.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002069/0.4407, allocations: 1.589 MB / 480.5 MB, free: 80.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.4424, allocations: 412 kB / 480.9 MB, free: 80.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006935/0.4494, allocations: 4.678 MB / 485.5 MB, free: 78.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00145/0.4508, allocations: 1.466 MB / 487 MB, free: 77.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008024/0.4516, allocations: 281.8 kB / 487.3 MB, free: 77.83 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.4518, allocations: 90.69 kB / 487.4 MB, free: 77.82 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4518, allocations: 4 kB / 487.4 MB, free: 77.82 MB / 430.1 MB Notification: Performance of Templates: time 0.03897/0.4908, allocations: 29.16 MB / 0.5044 GB, free: 53.77 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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: 5.639597946894355]