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.001743/0.001743, allocations: 84.61 kB / 20.95 MB, free: 332 kB / 14.72 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.001978/0.001978, allocations: 153.3 kB / 24.25 MB, free: 3.27 MB / 14.72 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.527/1.527, allocations: 173.3 MB / 200.8 MB, free: 12.73 MB / 190.1 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.814e-06/1.814e-06, allocations: 0 / 267.3 MB, free: 10.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.075e-05/3.256e-05, allocations: 8.641 kB / 267.3 MB, free: 10.18 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.01373/0.01376, allocations: 6.139 MB / 273.5 MB, free: 4.012 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.005902/0.01966, allocations: 2.185 MB / 275.6 MB, free: 1.82 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008423/0.0205, allocations: 59.62 kB / 275.7 MB, free: 1.762 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.02166, allocations: 456.9 kB / 276.1 MB, free: 1.312 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.02356, allocations: 0.7141 MB / 276.9 MB, free: 0.5938 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.02412, allocations: 275.6 kB / 277.1 MB, free: 332 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.003531/0.02765, allocations: 2.94 MB / 280.1 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.0299, allocations: 1.332 MB / 281.4 MB, free: 11.97 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00388/0.03378, allocations: 1.953 MB / 283.4 MB, free: 10.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002496/0.03628, allocations: 1.391 MB / 284.7 MB, free: 8.629 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006126/0.03689, allocations: 348 kB / 285.1 MB, free: 8.289 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009419/0.03784, allocations: 431.8 kB / 285.5 MB, free: 7.867 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008768/0.03871, allocations: 0.9232 MB / 286.4 MB, free: 6.941 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.04012, allocations: 1.06 MB / 287.5 MB, free: 5.879 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005016/0.04513, allocations: 4.706 MB / 292.2 MB, free: 1.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.04514, allocations: 0 / 292.2 MB, free: 1.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.04514, allocations: 0 / 292.2 MB, free: 1.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.224e-05/0.04519, allocations: 0 / 292.2 MB, free: 1.16 MB / 270.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.00559/0.05078, allocations: 2.936 MB / 295.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.05082, allocations: 12.92 kB / 295.1 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.05188, allocations: 0.4991 MB / 295.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002798/0.05468, allocations: 1.654 MB / 297.3 MB, free: 11.96 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.05482, allocations: 164.7 kB / 297.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003313/0.05516, allocations: 215.9 kB / 297.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005253/0.06041, allocations: 3.362 MB / 301 MB, free: 8.098 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/0.06045, allocations: 0 / 301 MB, free: 8.098 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/0.06068, allocations: 88 kB / 301.1 MB, free: 8.012 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.06081, allocations: 112.4 kB / 301.2 MB, free: 7.898 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004537/0.06535, allocations: 2.73 MB / 304 MB, free: 5.152 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1168/0.1822, allocations: 7.721 MB / 311.7 MB, free: 44.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.1847, allocations: 1.934 MB / 313.6 MB, free: 43.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.1865, allocations: 1.232 MB / 314.8 MB, free: 43.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/0.1867, allocations: 54.78 kB / 314.9 MB, free: 43.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.1867, allocations: 51.25 kB / 314.9 MB, free: 43.38 MB / 286.1 MB Notification: Performance of pre-optimization done (n=128): time 3.657e-06/0.1867, allocations: 0 / 314.9 MB, free: 43.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=132): time 0.009755/0.1965, allocations: 5.347 MB / 320.3 MB, free: 41.48 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.1965, allocations: 66.47 kB / 320.4 MB, free: 41.42 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.1979, allocations: 1.269 MB / 321.6 MB, free: 40.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.929e-05/0.198, allocations: 51.83 kB / 321.7 MB, free: 40.89 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004216/0.1984, allocations: 0.9667 MB / 322.6 MB, free: 40.28 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/0.1987, allocations: 465.7 kB / 323.1 MB, free: 39.98 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/0.1989, allocations: 214.4 kB / 323.3 MB, free: 39.87 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.199, allocations: 355.9 kB / 323.7 MB, free: 39.55 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008001/0.1998, allocations: 0.6985 MB / 324.4 MB, free: 39.3 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/0.2007, allocations: 0.8666 MB / 325.2 MB, free: 38.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.2023, allocations: 1.594 MB / 326.8 MB, free: 37.93 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2023, allocations: 3.75 kB / 326.8 MB, free: 37.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002935/0.2053, allocations: 2.34 MB / 329.2 MB, free: 36.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.2053, allocations: 11.78 kB / 329.2 MB, free: 36.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2053, allocations: 3.875 kB / 329.2 MB, free: 36.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002442/0.2077, allocations: 0.8534 MB / 330 MB, free: 35.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/0.2085, allocations: 203.8 kB / 330.2 MB, free: 35.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008629/0.2171, allocations: 10.93 MB / 341.2 MB, free: 24.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/0.2179, allocations: 55.95 kB / 341.2 MB, free: 24.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.157e-05/0.218, allocations: 44.06 kB / 341.3 MB, free: 24.29 MB / 286.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.0009454/0.2189, allocations: 0.8115 MB / 342.1 MB, free: 23.47 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.2192, allocations: 198.3 kB / 342.3 MB, free: 23.28 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.2222, allocations: 2.242 MB / 344.5 MB, free: 21.02 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/0.2222, allocations: 16 kB / 344.5 MB, free: 21 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2222, allocations: 7.938 kB / 344.5 MB, free: 21 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.2222, allocations: 3.984 kB / 344.5 MB, free: 20.99 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00554/0.2278, allocations: 4.154 MB / 348.7 MB, free: 16.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2278, allocations: 0 / 348.7 MB, free: 16.8 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/0.2284, allocations: 159.9 kB / 348.8 MB, free: 16.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002361/0.2308, allocations: 0.8421 MB / 349.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.192e-05/0.2308, allocations: 35.17 kB / 349.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008742/0.2396, allocations: 10.81 MB / 360.5 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2396, allocations: 7.969 kB / 360.5 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/0.2436, allocations: 3.244 MB / 363.8 MB, free: 1.285 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/0.2442, allocations: 316.6 kB / 364.1 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.2444, allocations: 31.98 kB / 364.1 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/0.2451, allocations: 63.94 kB / 364.2 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002409/0.2454, allocations: 126.1 kB / 364.3 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/0.2454, allocations: 35.94 kB / 364.3 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.001068/0.2465, allocations: 0.8991 MB / 365.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2465, allocations: 0 / 365.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001818/0.2483, allocations: 0.511 MB / 365.7 MB, free: 15.32 MB / 302.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.0005143/0.2488, allocations: 207.7 kB / 365.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003859/0.2527, allocations: 2.35 MB / 368.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.2527, allocations: 4 kB / 368.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002449/0.2551, allocations: 1.584 MB / 369.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.2569, allocations: 407.2 kB / 370.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008001/0.2649, allocations: 4.634 MB / 374.9 MB, free: 6.008 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/0.2667, allocations: 1.469 MB / 376.4 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000893/0.2676, allocations: 283.8 kB / 376.7 MB, free: 4.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.2679, allocations: 88.48 kB / 376.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of SimCode: time 1.112e-06/0.2679, allocations: 0 / 376.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of Templates: time 0.05497/0.3228, allocations: 29.06 MB / 405.8 MB, free: 7.441 MB / 334.1 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.545885492116213]