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.00108/0.00108, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001609/0.002689, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001097/0.001097, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001376/0.002474, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9417/0.9417, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08071/1.022, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+..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.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.269e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.0138/0.01381, allocations: 6.754 MB / 251.3 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.01715, allocations: 2.402 MB / 253.7 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004231/0.01757, allocations: 59.56 kB / 253.7 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006091/0.01818, allocations: 468.9 kB / 254.2 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000899/0.01908, allocations: 0.7141 MB / 254.9 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.01938, allocations: 279.6 kB / 255.2 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.02098, allocations: 2.971 MB / 258.2 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.02207, allocations: 1.379 MB / 259.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00328/0.02536, allocations: 2.177 MB / 261.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.02741, allocations: 1.516 MB / 263.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005341/0.02794, allocations: 348 kB / 263.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008851/0.02883, allocations: 447.7 kB / 264 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006065/0.02943, allocations: 0.7638 MB / 264.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.03062, allocations: 0.8853 MB / 265.7 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002956/0.03358, allocations: 2.407 MB / 268.1 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.826e-05/0.03359, allocations: 0 / 268.1 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.0336, allocations: 4 kB / 268.1 MB, free: 6.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.563e-05/0.03366, allocations: 0 / 268.1 MB, free: 6.637 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.003753/0.03741, allocations: 3.324 MB / 271.4 MB, free: 3.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.03745, allocations: 12.02 kB / 271.4 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007707/0.03822, allocations: 0.5055 MB / 271.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.03954, allocations: 0.9982 MB / 272.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.763e-05/0.03963, allocations: 164.7 kB / 273.1 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.03983, allocations: 223.9 kB / 273.3 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1164/0.1562, allocations: 1.785 MB / 275.1 MB, free: 20.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.1562, allocations: 2 kB / 275.1 MB, free: 20.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.1564, allocations: 88.73 kB / 275.2 MB, free: 20.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.1565, allocations: 109.8 kB / 275.3 MB, free: 20.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.158, allocations: 0.6459 MB / 275.9 MB, free: 20.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00715/0.1651, allocations: 5.025 MB / 280.9 MB, free: 19.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.1663, allocations: 0.9747 MB / 281.9 MB, free: 19.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007142/0.167, allocations: 0.5231 MB / 282.4 MB, free: 19.08 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.1672, allocations: 48.92 kB / 282.5 MB, free: 19.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.1672, allocations: 54.61 kB / 282.5 MB, free: 19.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.116e-06/0.1672, allocations: 1.281 kB / 282.5 MB, free: 19.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004424/0.1716, allocations: 2.205 MB / 284.7 MB, free: 18.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.1717, allocations: 70.98 kB / 284.8 MB, free: 18.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008123/0.1725, allocations: 0.8473 MB / 285.7 MB, free: 18.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.1725, allocations: 50.95 kB / 285.7 MB, free: 18.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.1728, allocations: 0.8171 MB / 286.5 MB, free: 17.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.173, allocations: 463.4 kB / 287 MB, free: 17.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/0.1733, allocations: 207.3 kB / 287.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.1733, allocations: 356.2 kB / 287.5 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.1736, allocations: 158.2 kB / 287.7 MB, free: 16.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.1739, allocations: 301.7 kB / 288 MB, free: 16.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005773/0.1744, allocations: 0.5589 MB / 288.5 MB, free: 16.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1744, allocations: 0 / 288.5 MB, free: 16.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001208/0.1757, allocations: 0.8577 MB / 289.4 MB, free: 16.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1757, allocations: 7.062 kB / 289.4 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1757, allocations: 7.406 kB / 289.4 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.177, allocations: 0.5075 MB / 289.9 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.1776, allocations: 244.7 kB / 290.2 MB, free: 16.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004811/0.1824, allocations: 7.413 MB / 297.6 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000535/0.183, allocations: 35.73 kB / 297.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/0.1831, allocations: 31.86 kB / 297.6 MB, free: 9.863 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.0004051/0.1835, allocations: 176 kB / 297.8 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.1837, allocations: 158.7 kB / 298 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.1852, allocations: 0.8913 MB / 298.9 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.1852, allocations: 12 kB / 298.9 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1852, allocations: 12.05 kB / 298.9 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1852, allocations: 6.062 kB / 298.9 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.1877, allocations: 2.362 MB / 301.2 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1877, allocations: 4 kB / 301.2 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.188, allocations: 187.9 kB / 301.4 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.1883, allocations: 186.9 kB / 301.6 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000957/0.1892, allocations: 0.4933 MB / 302.1 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.1893, allocations: 35.98 kB / 302.1 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003812/0.1931, allocations: 7.477 MB / 309.6 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1931, allocations: 4 kB / 309.6 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.1944, allocations: 1.198 MB / 310.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.1945, allocations: 31.98 kB / 310.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.1948, allocations: 47.98 kB / 310.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.195, allocations: 109.1 kB / 311 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.195, allocations: 26.73 kB / 311 MB, free: 12.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004159/0.1955, allocations: 438 kB / 311.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1955, allocations: 0 / 311.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009782/0.1964, allocations: 0.5194 MB / 312 MB, free: 11.68 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.0003714/0.1968, allocations: 198.1 kB / 312.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.1982, allocations: 1.331 MB / 313.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-05/0.1982, allocations: 26.89 kB / 313.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008884/0.1991, allocations: 1.105 MB / 314.6 MB, free: 8.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009153/0.2, allocations: 0.5223 MB / 315.2 MB, free: 8.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.213, allocations: 4.131 MB / 319.3 MB, free: 4.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.2135, allocations: 0.5882 MB / 319.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003734/0.2139, allocations: 156 kB / 320 MB, free: 3.461 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006333/0.2145, allocations: 410.3 kB / 320.4 MB, free: 3.055 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2145, allocations: 0 / 320.4 MB, free: 3.055 MB / 282.7 MB Notification: Performance of Templates: time 0.03575/0.2503, allocations: 32.42 MB / 352.8 MB, free: 3.133 MB / 314.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.32673651073128]