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.002387/0.002387, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.002687/0.002687, allocations: 145.1 kB / 24.26 MB, free: 172 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.49/1.49, allocations: 173.4 MB / 200.8 MB, free: 9.312 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.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.433e-06/1.433e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/2.961e-05, allocations: 9.766 kB / 267.4 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01496/0.01499, allocations: 10.51 MB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007489/0.02248, allocations: 3.162 MB / 281 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/0.02461, allocations: 115.2 kB / 281.1 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002286/0.02689, allocations: 0.7331 MB / 281.9 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00408/0.03097, allocations: 1.223 MB / 283.1 MB, free: 6.883 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.03252, allocations: 479.4 kB / 283.6 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008076/0.0406, allocations: 5.316 MB / 288.9 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1189/0.1595, allocations: 2.443 MB / 291.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006753/0.1663, allocations: 3.623 MB / 294.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004699/0.171, allocations: 2.732 MB / 297.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001502/0.1725, allocations: 0.6223 MB / 298.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.1747, allocations: 0.7006 MB / 299 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001529/0.1762, allocations: 1.726 MB / 300.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003033/0.1792, allocations: 1.955 MB / 302.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006457/0.1857, allocations: 8.611 MB / 311.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1857, allocations: 3.125 kB / 311.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1857, allocations: 0.6875 kB / 311.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000152/0.1859, allocations: 0 / 311.3 MB, free: 9.605 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.009847/0.1957, allocations: 5.824 MB / 317.1 MB, free: 5.512 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1957, allocations: 12.92 kB / 317.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.1976, allocations: 0.8987 MB / 318 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004806/0.2024, allocations: 2.631 MB / 320.7 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.2025, allocations: 291.9 kB / 320.9 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005419/0.203, allocations: 404.9 kB / 321.3 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.2145, allocations: 6.077 MB / 327.4 MB, free: 11.13 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.642e-05/0.2145, allocations: 4 kB / 327.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004225/0.215, allocations: 162.4 kB / 327.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002647/0.2152, allocations: 204 kB / 327.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/0.227, allocations: 4.367 MB / 332.2 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03734/0.2643, allocations: 20.43 MB / 352.6 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00584/0.2702, allocations: 3.458 MB / 356 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004002/0.2742, allocations: 2.137 MB / 358.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/0.2745, allocations: 69.97 kB / 358.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.359e-05/0.2746, allocations: 70.48 kB / 358.3 MB, free: 11.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=249): time 4.819e-06/0.2746, allocations: 0 / 358.3 MB, free: 11.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=256): time 0.02116/0.2957, allocations: 8.796 MB / 367.1 MB, free: 3.164 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.2958, allocations: 81.42 kB / 367.2 MB, free: 3.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004223/0.3, allocations: 2.529 MB / 369.7 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.3002, allocations: 65.7 kB / 369.8 MB, free: 436 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002112/0.3023, allocations: 1.907 MB / 371.7 MB, free: 14.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001131/0.3035, allocations: 0.9708 MB / 372.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009563/0.3044, allocations: 0.5223 MB / 373.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002507/0.3047, allocations: 476.8 kB / 373.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/0.3067, allocations: 1.047 MB / 374.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/0.3092, allocations: 1.556 MB / 376.3 MB, free: 9.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00486/0.314, allocations: 2.789 MB / 379 MB, free: 6.898 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.314, allocations: 4 kB / 379 MB, free: 6.895 MB / 330.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007947/0.322, allocations: 3.93 MB / 383 MB, free: 2.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.322, allocations: 8 kB / 383 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.322, allocations: 7.938 kB / 383 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006219/0.3283, allocations: 1.628 MB / 384.6 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.3299, allocations: 394 kB / 385 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03433/0.3642, allocations: 29.09 MB / 414.1 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.3662, allocations: 99.86 kB / 414.2 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/0.3664, allocations: 76 kB / 414.3 MB, free: 2.613 MB / 362.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.002473/0.3689, allocations: 1.235 MB / 415.5 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009111/0.3698, allocations: 366.2 kB / 415.9 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008026/0.3778, allocations: 3.75 MB / 419.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.73e-05/0.3778, allocations: 27.94 kB / 419.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.3779, allocations: 8 kB / 419.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/0.3779, allocations: 11.95 kB / 419.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/0.3954, allocations: 8.264 MB / 427.9 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.3955, allocations: 0 / 427.9 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.3967, allocations: 289.3 kB / 428.2 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006145/0.4029, allocations: 1.552 MB / 429.8 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/0.4031, allocations: 67.91 kB / 429.8 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1372/0.5402, allocations: 28.22 MB / 458 MB, free: 98.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5402, allocations: 1.312 kB / 458 MB, free: 98.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007111/0.5473, allocations: 4.92 MB / 463 MB, free: 96.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/0.5488, allocations: 0.5283 MB / 463.5 MB, free: 96.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/0.5491, allocations: 54 kB / 463.5 MB, free: 96.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.5503, allocations: 119.7 kB / 463.7 MB, free: 96.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005126/0.5508, allocations: 238 kB / 463.9 MB, free: 96.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.551, allocations: 66.56 kB / 464 MB, free: 96.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001773/0.5527, allocations: 1.524 MB / 465.5 MB, free: 95.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5527, allocations: 3.875 kB / 465.5 MB, free: 95.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003077/0.5558, allocations: 0.9458 MB / 466.4 MB, free: 95.81 MB / 378.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.0005699/0.5564, allocations: 257 kB / 466.7 MB, free: 95.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005271/0.5617, allocations: 4.966 MB / 471.6 MB, free: 92.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5617, allocations: 0 / 471.6 MB, free: 92.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003563/0.5652, allocations: 3.673 MB / 475.3 MB, free: 90.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/0.5682, allocations: 0.7476 MB / 476.1 MB, free: 90.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009854/0.5781, allocations: 7.798 MB / 483.9 MB, free: 85.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/0.58, allocations: 2.413 MB / 486.3 MB, free: 83.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001122/0.5811, allocations: 421.7 kB / 486.7 MB, free: 82.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.5815, allocations: 156.5 kB / 486.8 MB, free: 82.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5815, allocations: 1.312 kB / 486.8 MB, free: 82.54 MB / 378.7 MB Notification: Performance of Templates: time 0.06585/0.6473, allocations: 52.38 MB / 0.5266 GB, free: 30.87 MB / 378.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] 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: 7.227148276055232]