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.00135/0.00135, allocations: 88.62 kB / 20.96 MB, free: 3.477 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.001465/0.001465, allocations: 149.3 kB / 24.25 MB, free: 188 kB / 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 1.441/1.441, allocations: 173.4 MB / 200.8 MB, free: 9.277 MB / 186.7 MB " [Timeout remaining time 178] 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.1..i|transformer1.l2sigma.inductor.3..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.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 267.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.897e-05/3.037e-05, allocations: 6.25 kB / 267.3 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009464/0.009494, allocations: 6.142 MB / 273.5 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004789/0.01428, allocations: 2.173 MB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009378/0.01522, allocations: 59.56 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.01664, allocations: 456.9 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.01887, allocations: 0.7258 MB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007374/0.01961, allocations: 267.7 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004007/0.02362, allocations: 2.936 MB / 280.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.02575, allocations: 1.332 MB / 281.4 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003836/0.02958, allocations: 1.988 MB / 283.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00228/0.03186, allocations: 1.391 MB / 284.8 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007337/0.0326, allocations: 348 kB / 285.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008163/0.03341, allocations: 431.8 kB / 285.6 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001/0.03441, allocations: 0.931 MB / 286.5 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001575/0.03599, allocations: 1.064 MB / 287.5 MB, free: 2.363 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.121/0.157, allocations: 4.692 MB / 292.2 MB, free: 20.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.157, allocations: 0 / 292.2 MB, free: 20.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.157, allocations: 0.9688 kB / 292.2 MB, free: 20.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001299/0.1571, allocations: 3.828 kB / 292.2 MB, free: 20.48 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.00697/0.1641, allocations: 2.934 MB / 295.2 MB, free: 19.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1641, allocations: 10.64 kB / 295.2 MB, free: 19.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.1654, allocations: 0.4965 MB / 295.7 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002838/0.1682, allocations: 1.657 MB / 297.3 MB, free: 18.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.1683, allocations: 161.7 kB / 297.5 MB, free: 18.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/0.1687, allocations: 220 kB / 297.7 MB, free: 18.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005325/0.174, allocations: 3.365 MB / 301.1 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/0.1741, allocations: 3.625 kB / 301.1 MB, free: 17.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/0.1743, allocations: 88.8 kB / 301.2 MB, free: 17.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/0.1744, allocations: 108.5 kB / 301.3 MB, free: 17.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004245/0.1787, allocations: 2.725 MB / 304 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.1904, allocations: 7.734 MB / 311.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.1927, allocations: 1.93 MB / 313.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.1942, allocations: 1.235 MB / 314.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002093/0.1944, allocations: 49.28 kB / 314.9 MB, free: 9.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1944, allocations: 55.88 kB / 315 MB, free: 9.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.537e-06/0.1944, allocations: 0 / 315 MB, free: 9.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.009421/0.2039, allocations: 5.348 MB / 320.4 MB, free: 3.746 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.2039, allocations: 64.72 kB / 320.4 MB, free: 3.672 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.2054, allocations: 1.27 MB / 321.7 MB, free: 2.387 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/0.2054, allocations: 49.7 kB / 321.7 MB, free: 2.332 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.2058, allocations: 0.977 MB / 322.7 MB, free: 1.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.206, allocations: 459.8 kB / 323.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/0.2064, allocations: 218.9 kB / 323.4 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.937e-05/0.2064, allocations: 357.9 kB / 323.7 MB, free: 336 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.2075, allocations: 0.6922 MB / 324.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.2089, allocations: 0.8629 MB / 325.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002766/0.2117, allocations: 1.602 MB / 326.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.2117, allocations: 7.312 kB / 326.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004795/0.2165, allocations: 2.326 MB / 329.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.2165, allocations: 8 kB / 329.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.2165, allocations: 7.938 kB / 329.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003384/0.2199, allocations: 0.8527 MB / 330.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009174/0.2208, allocations: 209.6 kB / 330.3 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/0.2363, allocations: 10.93 MB / 341.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.2374, allocations: 59.95 kB / 341.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.2376, allocations: 40 kB / 341.3 MB, free: 14.38 MB / 298.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.001586/0.2391, allocations: 0.8113 MB / 342.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004464/0.2396, allocations: 207 kB / 342.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004444/0.244, allocations: 2.239 MB / 344.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.244, allocations: 12 kB / 344.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.2441, allocations: 8 kB / 344.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.2441, allocations: 7.969 kB / 344.6 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008532/0.2526, allocations: 4.149 MB / 348.7 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.2526, allocations: 0 / 348.7 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/0.2533, allocations: 163.6 kB / 348.9 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003112/0.2565, allocations: 0.8343 MB / 349.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.2566, allocations: 31.98 kB / 349.8 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/0.2714, allocations: 10.81 MB / 360.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2714, allocations: 6.906 kB / 360.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006376/0.2778, allocations: 3.252 MB / 363.8 MB, free: 7.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009645/0.2788, allocations: 322.2 kB / 364.1 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.279, allocations: 28 kB / 364.2 MB, free: 7.141 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007616/0.2797, allocations: 63.94 kB / 364.2 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003496/0.2801, allocations: 124.8 kB / 364.4 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.726e-05/0.2802, allocations: 43.92 kB / 364.4 MB, free: 6.918 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001539/0.2817, allocations: 0.8874 MB / 365.3 MB, free: 6.023 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2817, allocations: 0 / 365.3 MB, free: 6.023 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002036/0.2838, allocations: 0.5155 MB / 365.8 MB, free: 5.508 MB / 314.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.0005917/0.2843, allocations: 208.5 kB / 366 MB, free: 5.312 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004241/0.2886, allocations: 2.346 MB / 368.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2886, allocations: 7.25 kB / 368.4 MB, free: 2.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002905/0.2915, allocations: 1.584 MB / 369.9 MB, free: 1.316 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.2935, allocations: 412.4 kB / 370.3 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00885/0.3023, allocations: 4.632 MB / 375 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/0.3043, allocations: 1.469 MB / 376.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008876/0.3051, allocations: 283.8 kB / 376.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.3054, allocations: 88.48 kB / 376.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3054, allocations: 0 / 376.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of Templates: time 0.05503/0.3605, allocations: 29.07 MB / 405.9 MB, free: 13.73 MB / 362.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.5947627580026165]