Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 88.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 177.1 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 272.3 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.315e-05/3.53e-05, allocations: 2.312 kB / 272.3 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0244/0.02444, allocations: 9.406 MB / 281.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.03692, allocations: 3.162 MB / 284.9 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00296/0.03988, allocations: 111.2 kB / 285 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004089/0.04397, allocations: 0.7331 MB / 285.8 MB, free: 4.305 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007285/0.05125, allocations: 1.23 MB / 287 MB, free: 3.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.05394, allocations: 487.4 kB / 287.5 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1324/0.1864, allocations: 5.318 MB / 292.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003623/0.19, allocations: 2.429 MB / 295.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006319/0.1963, allocations: 3.594 MB / 298.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003934/0.2003, allocations: 2.517 MB / 301.3 MB, free: 13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009957/0.2013, allocations: 0.6222 MB / 301.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.2028, allocations: 0.7058 MB / 302.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.2039, allocations: 1.692 MB / 304.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002027/0.2059, allocations: 1.934 MB / 306.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006422/0.2123, allocations: 8.574 MB / 314.9 MB, free: 5.141 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2123, allocations: 0.9062 kB / 314.9 MB, free: 5.141 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2124, allocations: 0 / 314.9 MB, free: 5.141 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001965/0.2125, allocations: 0.875 kB / 314.9 MB, free: 5.141 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.00864/0.2212, allocations: 5.104 MB / 320 MB, free: 20 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.2212, allocations: 12.03 kB / 320 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/0.2236, allocations: 0.9272 MB / 320.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005658/0.2293, allocations: 2.941 MB / 323.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.2295, allocations: 288.7 kB / 324.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007007/0.2302, allocations: 395.1 kB / 324.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.2413, allocations: 6.133 MB / 330.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.508e-05/0.2414, allocations: 0 / 330.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004165/0.2418, allocations: 162.7 kB / 330.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002546/0.2421, allocations: 208 kB / 331 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00969/0.2518, allocations: 5.019 MB / 336 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0296/0.2814, allocations: 14.35 MB / 350.4 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006496/0.2878, allocations: 3.891 MB / 354.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004227/0.2921, allocations: 2.455 MB / 356.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003084/0.2924, allocations: 77.97 kB / 356.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.641e-05/0.2925, allocations: 56.56 kB / 356.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=249): time 5.149e-06/0.2925, allocations: 0 / 356.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=256): time 0.02269/0.3152, allocations: 10.12 MB / 367 MB, free: 1.191 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.3152, allocations: 77.42 kB / 367 MB, free: 1.102 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003861/0.3191, allocations: 2.208 MB / 369.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.3193, allocations: 69.7 kB / 369.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001621/0.3209, allocations: 1.7 MB / 371 MB, free: 13.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009235/0.3218, allocations: 0.8726 MB / 371.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007647/0.3226, allocations: 408.7 kB / 372.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3228, allocations: 305.1 kB / 372.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/0.3251, allocations: 1.34 MB / 373.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/0.3277, allocations: 1.65 MB / 375.6 MB, free: 8.418 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00538/0.3331, allocations: 3.084 MB / 378.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.3331, allocations: 4 kB / 378.7 MB, free: 5.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008655/0.3418, allocations: 4.506 MB / 383.2 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.3418, allocations: 8 kB / 383.2 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/0.3418, allocations: 11.94 kB / 383.2 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006385/0.3482, allocations: 1.699 MB / 384.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.3499, allocations: 392.7 kB / 385.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03236/0.3823, allocations: 24.36 MB / 409.6 MB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.3843, allocations: 99.88 kB / 409.7 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.3845, allocations: 76 kB / 409.8 MB, free: 5.258 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.002704/0.3872, allocations: 1.408 MB / 411.2 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008495/0.388, allocations: 370.3 kB / 411.6 MB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008781/0.3968, allocations: 4.311 MB / 415.9 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/0.3968, allocations: 27.94 kB / 415.9 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.3969, allocations: 11.47 kB / 415.9 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/0.3969, allocations: 11.95 kB / 415.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.4127, allocations: 7.781 MB / 423.7 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.4127, allocations: 4 kB / 423.7 MB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.414, allocations: 289.6 kB / 424 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006255/0.4202, allocations: 1.672 MB / 425.7 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/0.4204, allocations: 67.84 kB / 425.7 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1444/0.5648, allocations: 24.08 MB / 449.8 MB, free: 105.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5648, allocations: 5.312 kB / 449.8 MB, free: 105.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008035/0.5729, allocations: 6.126 MB / 455.9 MB, free: 103 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.574, allocations: 0.5865 MB / 456.5 MB, free: 102.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000292/0.5743, allocations: 55.14 kB / 456.6 MB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.5755, allocations: 117.5 kB / 456.7 MB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005053/0.576, allocations: 230.6 kB / 456.9 MB, free: 102.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.5761, allocations: 62.88 kB / 457 MB, free: 102.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00171/0.5778, allocations: 1.535 MB / 458.5 MB, free: 102.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5778, allocations: 0 / 458.5 MB, free: 102.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002775/0.5806, allocations: 0.9478 MB / 459.5 MB, free: 102.1 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.0005231/0.5811, allocations: 247.6 kB / 459.7 MB, free: 102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005184/0.5863, allocations: 4.778 MB / 464.5 MB, free: 99.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5863, allocations: 0 / 464.5 MB, free: 99.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003608/0.5899, allocations: 3.283 MB / 467.8 MB, free: 96.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/0.5927, allocations: 0.7403 MB / 468.5 MB, free: 96.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.6031, allocations: 8.552 MB / 477.1 MB, free: 88.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/0.6052, allocations: 2.632 MB / 479.7 MB, free: 85.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001266/0.6065, allocations: 0.5216 MB / 480.2 MB, free: 84.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.6069, allocations: 152.5 kB / 480.4 MB, free: 84.77 MB / 378.7 MB Notification: Performance of SimCode: time 8.71e-07/0.6069, allocations: 0 / 480.4 MB, free: 84.77 MB / 378.7 MB Notification: Performance of Templates: time 0.06429/0.6712, allocations: 52.2 MB / 0.5201 GB, free: 33.3 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.365045672049746]