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.0009136/0.0009136, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.0009124/0.0009124, allocations: 143.4 kB / 24.89 MB, free: 8.727 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.875/0.875, allocations: 173.4 MB / 201.5 MB, free: 8.758 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.333e-06/1.333e-06, allocations: 0 / 268.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.563e-05, allocations: 6.25 kB / 268.5 MB, free: 6.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005526/0.005541, allocations: 6.66 MB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003572/0.009113, allocations: 2.309 MB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006836/0.009797, allocations: 63.56 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008042/0.0106, allocations: 464.9 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.01174, allocations: 0.7219 MB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.01213, allocations: 275.5 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002041/0.01417, allocations: 2.936 MB / 281.9 MB, free: 8.535 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.01525, allocations: 1.379 MB / 283.3 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.01716, allocations: 2.006 MB / 285.3 MB, free: 5.086 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.01847, allocations: 1.512 MB / 286.8 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003023/0.01877, allocations: 352 kB / 287.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004597/0.01923, allocations: 427.8 kB / 287.6 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005679/0.0198, allocations: 0.9505 MB / 288.5 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007712/0.02057, allocations: 1.076 MB / 289.6 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1196/0.1402, allocations: 2.553 MB / 292.1 MB, free: 21.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1402, allocations: 0.5 kB / 292.1 MB, free: 21.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1402, allocations: 0 / 292.1 MB, free: 21.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001138/0.1403, allocations: 0.9062 kB / 292.1 MB, free: 21.03 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.004785/0.1451, allocations: 2.777 MB / 294.9 MB, free: 19.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1451, allocations: 9.453 kB / 294.9 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009722/0.1461, allocations: 408.4 kB / 295.3 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.1476, allocations: 0.9877 MB / 296.3 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.1477, allocations: 165.1 kB / 296.5 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.148, allocations: 215.9 kB / 296.7 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/0.1507, allocations: 1.791 MB / 298.5 MB, free: 19.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.1507, allocations: 3.562 kB / 298.5 MB, free: 19.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.1509, allocations: 92.05 kB / 298.6 MB, free: 19.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.151, allocations: 117.5 kB / 298.7 MB, free: 19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.1522, allocations: 0.6412 MB / 299.3 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005844/0.1581, allocations: 4.989 MB / 304.3 MB, free: 17.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008864/0.159, allocations: 0.9782 MB / 305.3 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.1595, allocations: 0.5235 MB / 305.8 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.1596, allocations: 52.86 kB / 305.9 MB, free: 16.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.1596, allocations: 45.56 kB / 305.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.585e-06/0.1596, allocations: 0 / 305.9 MB, free: 16.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003329/0.163, allocations: 2.214 MB / 308.1 MB, free: 16.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.163, allocations: 67.94 kB / 308.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/0.1636, allocations: 0.8431 MB / 309 MB, free: 15.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.1636, allocations: 53.08 kB / 309.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.1639, allocations: 0.8111 MB / 309.9 MB, free: 15.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.164, allocations: 468.1 kB / 310.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.1642, allocations: 207.5 kB / 310.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.658e-05/0.1643, allocations: 360.2 kB / 310.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.1645, allocations: 153.5 kB / 311.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.1647, allocations: 294.8 kB / 311.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.1652, allocations: 0.5572 MB / 311.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1652, allocations: 3.531 kB / 311.9 MB, free: 14.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0009696/0.1661, allocations: 0.8532 MB / 312.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1661, allocations: 8 kB / 312.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1662, allocations: 4 kB / 312.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.1672, allocations: 0.5022 MB / 313.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.1675, allocations: 205.6 kB / 313.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003503/0.171, allocations: 7.382 MB / 320.9 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.1714, allocations: 43.86 kB / 320.9 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.1714, allocations: 28 kB / 320.9 MB, free: 5.125 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.0003876/0.1718, allocations: 180 kB / 321.1 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.172, allocations: 143.8 kB / 321.2 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009446/0.1729, allocations: 0.9077 MB / 322.1 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1729, allocations: 12 kB / 322.2 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1729, allocations: 8 kB / 322.2 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1729, allocations: 3.984 kB / 322.2 MB, free: 3.891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.1753, allocations: 2.359 MB / 324.5 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.1753, allocations: 4 kB / 324.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.1756, allocations: 143.2 kB / 324.7 MB, free: 1.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009834/0.1766, allocations: 0.5165 MB / 325.2 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.1767, allocations: 27.98 kB / 325.2 MB, free: 1.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0045/0.1812, allocations: 7.431 MB / 332.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1812, allocations: 0 / 332.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.1825, allocations: 1.193 MB / 333.8 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.1828, allocations: 187 kB / 334 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.1829, allocations: 31.98 kB / 334.1 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.1832, allocations: 55.97 kB / 334.1 MB, free: 8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.1834, allocations: 111.8 kB / 334.2 MB, free: 7.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.1835, allocations: 24 kB / 334.2 MB, free: 7.871 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003629/0.1838, allocations: 434.2 kB / 334.7 MB, free: 7.488 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1838, allocations: 0 / 334.7 MB, free: 7.488 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001164/0.185, allocations: 0.5116 MB / 335.2 MB, free: 6.977 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.0003224/0.1853, allocations: 193.8 kB / 335.4 MB, free: 6.801 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.1866, allocations: 1.333 MB / 336.7 MB, free: 5.461 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/0.1866, allocations: 12.06 kB / 336.7 MB, free: 5.449 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008842/0.1875, allocations: 1.105 MB / 337.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000869/0.1884, allocations: 410.3 kB / 338.2 MB, free: 3.938 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/0.1929, allocations: 3.786 MB / 342 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.1934, allocations: 0.5804 MB / 342.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003435/0.1938, allocations: 155.9 kB / 342.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/0.1944, allocations: 391.1 kB / 343.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1944, allocations: 0 / 343.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of Templates: time 0.0344/0.2288, allocations: 30.86 MB / 374 MB, free: 0.6406 MB / 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 -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.427906865719706]