Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.0008183/0.0008183, allocations: 84 kB / 21.43 MB, free: 3.129 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.003814/0.003814, allocations: 149.5 kB / 24.68 MB, free: 9.426 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.8425/0.8425, allocations: 173.4 MB / 201.2 MB, free: 9.422 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.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 319.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.067e-05, allocations: 6.281 kB / 319.7 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.007496/0.007527, allocations: 9.365 MB / 329.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005648/0.01318, allocations: 3.088 MB / 332.2 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.01475, allocations: 107.2 kB / 332.3 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.01603, allocations: 0.7293 MB / 333 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.01831, allocations: 1.226 MB / 334.2 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006537/0.01896, allocations: 479.3 kB / 334.7 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004411/0.02337, allocations: 5.316 MB / 340 MB, free: 1.402 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002816/0.02619, allocations: 2.425 MB / 342.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006352/0.03254, allocations: 3.545 MB / 346 MB, free: 11.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003173/0.03571, allocations: 2.514 MB / 348.5 MB, free: 8.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000824/0.03654, allocations: 0.6211 MB / 349.1 MB, free: 8.219 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.0378, allocations: 0.7068 MB / 349.8 MB, free: 7.512 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.03883, allocations: 1.695 MB / 351.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002545/0.04138, allocations: 1.934 MB / 353.5 MB, free: 3.875 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006412/0.04779, allocations: 8.558 MB / 362 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.0478, allocations: 0 / 362 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0478, allocations: 0 / 362 MB, free: 11.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001947/0.04799, allocations: 0 / 362 MB, free: 11.29 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.008592/0.05659, allocations: 5.092 MB / 367.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.05663, allocations: 16.86 kB / 367.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.05769, allocations: 0.5758 MB / 367.7 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003964/0.06165, allocations: 2.814 MB / 370.5 MB, free: 2.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.0618, allocations: 296.2 kB / 370.8 MB, free: 2.379 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000689/0.06249, allocations: 391.9 kB / 371.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008218/0.07071, allocations: 6.127 MB / 377.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.189e-05/0.07076, allocations: 0 / 377.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002578/0.07102, allocations: 164 kB / 377.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.07115, allocations: 204 kB / 377.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006273/0.07742, allocations: 5.024 MB / 382.7 MB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/0.09419, allocations: 14.12 MB / 396.8 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00351/0.0977, allocations: 3.898 MB / 400.7 MB, free: 4.125 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002476/0.1002, allocations: 2.451 MB / 403.2 MB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.1004, allocations: 57.97 kB / 403.2 MB, free: 1.621 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.1004, allocations: 68.5 kB / 403.3 MB, free: 1.547 MB / 362.7 MB Notification: Performance of pre-optimization done (n=249): time 4.428e-06/0.1004, allocations: 0 / 403.3 MB, free: 1.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=256): time 0.01245/0.1129, allocations: 9.994 MB / 413.3 MB, free: 7.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.1129, allocations: 77.42 kB / 413.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.1152, allocations: 2.196 MB / 415.6 MB, free: 5.145 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.1153, allocations: 69.7 kB / 415.6 MB, free: 5.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000988/0.1163, allocations: 1.689 MB / 417.3 MB, free: 3.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004798/0.1168, allocations: 0.8753 MB / 418.2 MB, free: 2.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004273/0.1172, allocations: 416.7 kB / 418.6 MB, free: 2.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.211e-05/0.1173, allocations: 301.1 kB / 418.9 MB, free: 1.773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.1186, allocations: 1.34 MB / 420.2 MB, free: 440 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.1201, allocations: 1.654 MB / 421.9 MB, free: 14.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/0.1231, allocations: 3.079 MB / 425 MB, free: 11.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/0.1232, allocations: 11.94 kB / 425 MB, free: 11.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.004651/0.1278, allocations: 4.392 MB / 429.4 MB, free: 6.984 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.1278, allocations: 11.94 kB / 429.4 MB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.1278, allocations: 4 kB / 429.4 MB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002632/0.1305, allocations: 1.643 MB / 431 MB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.1315, allocations: 383.5 kB / 431.4 MB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1445/0.2761, allocations: 24.25 MB / 455.7 MB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.2775, allocations: 97.06 kB / 455.7 MB, free: 113.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/0.2778, allocations: 81.38 kB / 455.8 MB, free: 113.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001871/0.2796, allocations: 1.404 MB / 457.2 MB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/0.2801, allocations: 273 kB / 457.5 MB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003926/0.284, allocations: 4.306 MB / 461.8 MB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.284, allocations: 26.84 kB / 461.8 MB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.284, allocations: 7.719 kB / 461.8 MB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.284, allocations: 14.72 kB / 461.9 MB, free: 111.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00766/0.2917, allocations: 7.757 MB / 469.6 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.2917, allocations: 0 / 469.6 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.2923, allocations: 295.1 kB / 469.9 MB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002231/0.2945, allocations: 1.615 MB / 471.5 MB, free: 105 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.2946, allocations: 55.98 kB / 471.6 MB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.3059, allocations: 24 MB / 495.6 MB, free: 80.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3059, allocations: 0 / 495.6 MB, free: 80.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005217/0.3111, allocations: 6.031 MB / 0.4898 GB, free: 74.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.3123, allocations: 0.5789 MB / 0.4904 GB, free: 73.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.3125, allocations: 62.23 kB / 0.4905 GB, free: 73.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/0.3132, allocations: 119.9 kB / 0.4906 GB, free: 73.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003622/0.3136, allocations: 225.5 kB / 0.4908 GB, free: 73.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.264e-05/0.3137, allocations: 63.98 kB / 0.4909 GB, free: 73.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001402/0.3151, allocations: 1.523 MB / 0.4923 GB, free: 71.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3151, allocations: 0 / 0.4923 GB, free: 71.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00245/0.3175, allocations: 0.9513 MB / 0.4933 GB, free: 70.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004969/0.318, allocations: 245.3 kB / 0.4935 GB, free: 70.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003893/0.3219, allocations: 4.763 MB / 0.4982 GB, free: 65.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3219, allocations: 7.938 kB / 0.4982 GB, free: 65.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.3243, allocations: 3.256 MB / 0.5014 GB, free: 62.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/0.3264, allocations: 0.7342 MB / 0.5021 GB, free: 61.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008907/0.3353, allocations: 8.355 MB / 0.5102 GB, free: 53.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/0.337, allocations: 2.56 MB / 0.5127 GB, free: 50.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/0.3376, allocations: 156.5 kB / 0.5129 GB, free: 50.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.3376, allocations: 4 kB / 0.5129 GB, free: 50.47 MB / 410.7 MB Notification: Performance of Templates: time 0.2621/0.5997, allocations: 259.4 MB / 0.7662 GB, free: 4.656 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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: 12.678540013730526]