Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001999/0.001999, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 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.002275/0.002275, allocations: 210.9 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 207.7 MB / 235.3 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 55.94 kB / 347.7 MB, free: 9.438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2848, allocations: 49.15 MB / 396.9 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01045/0.2953, allocations: 9.309 MB / 406.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008183/0.3034, allocations: 3.17 MB / 409.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.3063, allocations: 94.5 kB / 409.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.3085, allocations: 0.7301 MB / 410.2 MB, free: 452 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004305/0.3128, allocations: 1.179 MB / 411.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.3143, allocations: 0.5 MB / 411.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00713/0.3214, allocations: 5.277 MB / 417.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00344/0.3249, allocations: 2.235 MB / 419.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00589/0.3307, allocations: 2.437 MB / 421.8 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006358/0.3371, allocations: 2.783 MB / 424.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002008/0.3391, allocations: 0.6211 MB / 425.2 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.3424, allocations: 0.699 MB / 425.9 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003093/0.3455, allocations: 1.648 MB / 427.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006369/0.3519, allocations: 2.237 MB / 429.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.3642, allocations: 8.483 MB / 438.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.3642, allocations: 3.938 kB / 438.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3642, allocations: 0 / 438.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003282/0.3645, allocations: 0 / 438.3 MB, free: 9.605 MB / 350.1 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.01382/0.3783, allocations: 5.132 MB / 443.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3784, allocations: 11.98 kB / 443.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.3799, allocations: 0.5759 MB / 444 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005181/0.385, allocations: 2.596 MB / 446.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/0.3853, allocations: 287.8 kB / 446.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000652/0.3859, allocations: 387.9 kB / 447.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/0.397, allocations: 6.119 MB / 453.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.346e-05/0.3971, allocations: 4 kB / 453.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004552/0.3975, allocations: 160 kB / 453.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002274/0.3978, allocations: 212 kB / 453.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009342/0.4071, allocations: 5.005 MB / 458.7 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02882/0.4359, allocations: 14.13 MB / 472.9 MB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006429/0.4423, allocations: 3.908 MB / 476.8 MB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003932/0.4463, allocations: 2.438 MB / 479.2 MB, free: 192 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.4466, allocations: 57.97 kB / 479.3 MB, free: 136 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.267e-05/0.4466, allocations: 64.55 kB / 479.3 MB, free: 60 kB / 382.1 MB Notification: Performance of pre-optimization done (n=249): time 5.18e-06/0.4466, allocations: 0 / 479.3 MB, free: 60 kB / 382.1 MB Notification: Performance of matching and sorting (n=256): time 0.02319/0.4698, allocations: 10 MB / 489.3 MB, free: 5.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.4699, allocations: 77.42 kB / 489.4 MB, free: 5.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004769/0.4747, allocations: 2.2 MB / 491.6 MB, free: 3.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004088/0.4751, allocations: 69.7 kB / 491.7 MB, free: 3.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.4766, allocations: 1.696 MB / 493.4 MB, free: 1.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001143/0.4777, allocations: 0.8831 MB / 494.3 MB, free: 0.9688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.4788, allocations: 412.7 kB / 494.7 MB, free: 0.5586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4789, allocations: 309.1 kB / 495 MB, free: 260 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002391/0.4813, allocations: 1.34 MB / 496.3 MB, free: 14.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002592/0.4839, allocations: 1.654 MB / 498 MB, free: 13.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004873/0.4888, allocations: 3.076 MB / 0.4893 GB, free: 9.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.4888, allocations: 4 kB / 0.4893 GB, free: 9.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008344/0.4971, allocations: 4.4 MB / 0.4936 GB, free: 5.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.4972, allocations: 8 kB / 0.4936 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.4972, allocations: 4 kB / 0.4936 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005404/0.5026, allocations: 1.635 MB / 0.4952 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.5042, allocations: 387.5 kB / 0.4956 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02875/0.533, allocations: 24.25 MB / 0.5193 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.5352, allocations: 99.81 kB / 0.5194 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004366/0.5357, allocations: 76 kB / 0.5194 GB, free: 9.984 MB / 446.1 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.003151/0.5388, allocations: 1.411 MB / 0.5208 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/0.5399, allocations: 270.4 kB / 0.5211 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009139/0.549, allocations: 4.314 MB / 0.5253 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/0.5491, allocations: 24 kB / 0.5253 GB, free: 3.867 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.133e-05/0.5491, allocations: 8 kB / 0.5253 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/0.5491, allocations: 19.92 kB / 0.5253 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/0.5655, allocations: 7.759 MB / 0.5329 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.5655, allocations: 4 kB / 0.5329 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.5668, allocations: 288.1 kB / 0.5332 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005339/0.5722, allocations: 1.617 MB / 0.5348 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002396/0.5724, allocations: 59.92 kB / 0.5348 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02851/0.6009, allocations: 24.04 MB / 0.5583 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.6009, allocations: 3.938 kB / 0.5583 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2466/0.8475, allocations: 6.026 MB / 0.5642 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00214/0.8496, allocations: 0.5844 MB / 0.5648 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/0.85, allocations: 57.2 kB / 0.5648 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.8513, allocations: 126.2 kB / 0.5649 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006501/0.8519, allocations: 228.1 kB / 0.5651 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.8521, allocations: 61.59 kB / 0.5652 GB, free: 140.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002609/0.8547, allocations: 1.534 MB / 0.5667 GB, free: 139.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8547, allocations: 0 / 0.5667 GB, free: 139.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003845/0.8585, allocations: 0.9457 MB / 0.5676 GB, free: 139.6 MB / 478.1 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.0006526/0.8592, allocations: 234.7 kB / 0.5679 GB, free: 139.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007094/0.8663, allocations: 4.761 MB / 0.5725 GB, free: 137.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.8663, allocations: 1.25 kB / 0.5725 GB, free: 137.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004413/0.8707, allocations: 3.269 MB / 0.5757 GB, free: 135.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/0.8743, allocations: 0.7337 MB / 0.5764 GB, free: 134.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/0.8941, allocations: 8.568 MB / 0.5848 GB, free: 131.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0049/0.899, allocations: 2.644 MB / 0.5874 GB, free: 130.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002626/0.9016, allocations: 0.5091 MB / 0.5879 GB, free: 130.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008845/0.9025, allocations: 148.3 kB / 0.588 GB, free: 130.3 MB / 478.1 MB Notification: Performance of SimCode: time 2.274e-06/0.9025, allocations: 0 / 0.588 GB, free: 130.3 MB / 478.1 MB Notification: Performance of Templates: time 0.1055/1.008, allocations: 57.25 MB / 0.6439 GB, free: 74.88 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.705041438341141]