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.0007765/0.0007765, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001172/0.001949, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006401/0.0006401, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008709/0.001511, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8539/0.8539, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1709/1.025, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.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.723e-06/1.723e-06, allocations: 0 / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.528e-05, allocations: 2.312 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008838/0.008863, allocations: 6.733 MB / 246.5 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005235/0.0141, allocations: 2.332 MB / 248.8 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007992/0.0149, allocations: 59.62 kB / 248.9 MB, free: 13.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008303/0.01573, allocations: 477.8 kB / 249.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.01705, allocations: 0.7083 MB / 250.1 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.01748, allocations: 273 kB / 250.3 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002171/0.01965, allocations: 2.964 MB / 253.3 MB, free: 8.793 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.0209, allocations: 1.371 MB / 254.7 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002477/0.02338, allocations: 2.168 MB / 256.8 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.02503, allocations: 1.514 MB / 258.3 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005103/0.02554, allocations: 348 kB / 258.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005801/0.02612, allocations: 444.2 kB / 259.1 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004627/0.02658, allocations: 0.7638 MB / 259.9 MB, free: 2.129 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007949/0.02738, allocations: 0.89 MB / 260.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.02932, allocations: 2.391 MB / 263.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.611e-05/0.02934, allocations: 1.656 kB / 263.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.02934, allocations: 0 / 263.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.784e-05/0.02939, allocations: 7.844 kB / 263.2 MB, free: 14.83 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.003345/0.03273, allocations: 3.317 MB / 266.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.03277, allocations: 12.03 kB / 266.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008116/0.03359, allocations: 489.6 kB / 267 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.03478, allocations: 0.9864 MB / 268 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/0.03486, allocations: 160.8 kB / 268.1 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/0.03514, allocations: 223.9 kB / 268.3 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.03701, allocations: 1.79 MB / 270.1 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.03704, allocations: 0 / 270.1 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004059/0.03745, allocations: 91.98 kB / 270.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.988e-05/0.03753, allocations: 108.4 kB / 270.3 MB, free: 7.434 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008739/0.0384, allocations: 0.6417 MB / 271 MB, free: 6.766 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005846/0.04425, allocations: 5.025 MB / 276 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/0.04522, allocations: 0.9828 MB / 277 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008604/0.04608, allocations: 0.5257 MB / 277.5 MB, free: 72 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.04622, allocations: 41.3 kB / 277.5 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.04627, allocations: 51.92 kB / 277.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 3.276e-06/0.04627, allocations: 0 / 277.6 MB, free: 15.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.003992/0.05026, allocations: 2.251 MB / 279.8 MB, free: 13.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.0503, allocations: 64.72 kB / 279.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007931/0.0511, allocations: 0.8382 MB / 280.7 MB, free: 12.76 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/0.05116, allocations: 49.7 kB / 280.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.05151, allocations: 0.8151 MB / 281.6 MB, free: 11.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002389/0.05175, allocations: 456 kB / 282 MB, free: 11.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.05197, allocations: 214.8 kB / 282.3 MB, free: 11.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.05207, allocations: 353.8 kB / 282.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.05227, allocations: 149.4 kB / 282.7 MB, free: 10.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.05252, allocations: 307.9 kB / 283 MB, free: 10.37 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.05308, allocations: 0.5674 MB / 283.6 MB, free: 9.746 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.05308, allocations: 7.938 kB / 283.6 MB, free: 9.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001451/0.05453, allocations: 0.8605 MB / 284.5 MB, free: 8.855 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.05456, allocations: 13.97 kB / 284.5 MB, free: 8.844 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.05457, allocations: 7.938 kB / 284.5 MB, free: 8.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.05587, allocations: 0.5177 MB / 285 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/0.0564, allocations: 239.7 kB / 285.3 MB, free: 8.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005224/0.06163, allocations: 7.413 MB / 292.7 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/0.06221, allocations: 32 kB / 292.7 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.06226, allocations: 32 kB / 292.7 MB, free: 236 kB / 282.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.0004999/0.06276, allocations: 184.5 kB / 292.9 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/0.06299, allocations: 143.8 kB / 293.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/0.0641, allocations: 0.892 MB / 293.9 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.06411, allocations: 12 kB / 294 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.06411, allocations: 4 kB / 294 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.06412, allocations: 19.91 kB / 294 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/0.06702, allocations: 2.361 MB / 296.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.06703, allocations: 0 / 296.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/0.06745, allocations: 190.4 kB / 296.5 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.06776, allocations: 179 kB / 296.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.06887, allocations: 0.5083 MB / 297.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/0.06892, allocations: 31.98 kB / 297.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005007/0.07393, allocations: 7.464 MB / 304.7 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.07393, allocations: 3.938 kB / 304.7 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.07547, allocations: 1.211 MB / 305.9 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.07564, allocations: 28 kB / 305.9 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006233/0.07626, allocations: 55.91 kB / 306 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.07645, allocations: 105.1 kB / 306.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-05/0.0765, allocations: 28 kB / 306.1 MB, free: 2.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004408/0.07694, allocations: 435.5 kB / 306.6 MB, free: 1.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07694, allocations: 0 / 306.6 MB, free: 1.871 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001279/0.07822, allocations: 0.5038 MB / 307.1 MB, free: 1.367 MB / 298.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.000449/0.07867, allocations: 209.6 kB / 307.3 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.08013, allocations: 1.345 MB / 308.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.013e-05/0.08017, allocations: 22.62 kB / 308.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.08119, allocations: 1.155 MB / 309.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.08375, allocations: 4.315 MB / 314.1 MB, free: 9.332 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.09817, allocations: 4.12 MB / 318.2 MB, free: 5.148 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.09873, allocations: 0.5922 MB / 318.8 MB, free: 4.531 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005378/0.09927, allocations: 160 kB / 319 MB, free: 4.371 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006459/0.09992, allocations: 407.1 kB / 319.4 MB, free: 3.965 MB / 314.7 MB Notification: Performance of SimCode: time 1.683e-06/0.09992, allocations: 0 / 319.4 MB, free: 3.965 MB / 314.7 MB Notification: Performance of Templates: time 0.1371/0.2371, allocations: 32.79 MB / 352.2 MB, free: 76.82 MB / 330.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.126749943010509]