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.001311/0.001311, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 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.001477/0.001477, allocations: 206 kB / 23.73 MB, free: 4.379 MB / 14.72 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 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 0.001617/0.001617, allocations: 51.91 kB / 378.2 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2802, allocations: 53.37 MB / 431.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01261/0.2928, allocations: 9.369 MB / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007481/0.3003, allocations: 3.151 MB / 444.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.3018, allocations: 107.2 kB / 444.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.3035, allocations: 0.7319 MB / 445 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.3065, allocations: 1.181 MB / 446.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.3076, allocations: 487.5 kB / 446.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006612/0.3142, allocations: 5.143 MB / 451.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003669/0.3179, allocations: 2.499 MB / 454.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004729/0.3226, allocations: 2.45 MB / 456.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004722/0.3273, allocations: 2.837 MB / 459.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009585/0.3283, allocations: 0.6211 MB / 460.2 MB, free: 9.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.3297, allocations: 0.703 MB / 460.9 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001642/0.3314, allocations: 1.644 MB / 462.5 MB, free: 7.602 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003695/0.3351, allocations: 2.249 MB / 464.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.3452, allocations: 8.495 MB / 473.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3452, allocations: 4 kB / 473.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3452, allocations: 4 kB / 473.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001953/0.3454, allocations: 0 / 473.3 MB, free: 12.81 MB / 382.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.01118/0.3565, allocations: 5.151 MB / 478.4 MB, free: 7.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3566, allocations: 15.97 kB / 478.5 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.3583, allocations: 0.5953 MB / 479 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005974/0.3643, allocations: 2.838 MB / 481.9 MB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/0.3645, allocations: 291.8 kB / 482.2 MB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006655/0.3652, allocations: 384 kB / 482.5 MB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01222/0.3774, allocations: 6.135 MB / 488.7 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-05/0.3775, allocations: 0 / 488.7 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004071/0.3779, allocations: 164 kB / 488.8 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002385/0.3782, allocations: 215.9 kB / 489 MB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.3886, allocations: 5.012 MB / 494.1 MB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03044/0.4191, allocations: 14.12 MB / 0.4963 GB, free: 9.332 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006255/0.4253, allocations: 3.898 MB / 0.5001 GB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004198/0.4295, allocations: 2.442 MB / 0.5025 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/0.4298, allocations: 61.91 kB / 0.5025 GB, free: 3.047 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.887e-05/0.4299, allocations: 68.55 kB / 0.5026 GB, free: 2.969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 5.31e-06/0.4299, allocations: 3.938 kB / 0.5026 GB, free: 2.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02104/0.4509, allocations: 10 MB / 0.5124 GB, free: 8.887 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.451, allocations: 77.42 kB / 0.5124 GB, free: 8.797 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004087/0.4551, allocations: 2.204 MB / 0.5146 GB, free: 6.555 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001823/0.4553, allocations: 69.7 kB / 0.5146 GB, free: 6.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.4566, allocations: 1.704 MB / 0.5163 GB, free: 4.762 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008307/0.4574, allocations: 0.8831 MB / 0.5172 GB, free: 3.871 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007061/0.4581, allocations: 408.7 kB / 0.5176 GB, free: 3.465 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4582, allocations: 309.1 kB / 0.5179 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.4604, allocations: 1.34 MB / 0.5192 GB, free: 1.816 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/0.4628, allocations: 1.654 MB / 0.5208 GB, free: 64 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004711/0.4675, allocations: 3.076 MB / 0.5238 GB, free: 12.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.4675, allocations: 4 kB / 0.5238 GB, free: 12.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007834/0.4753, allocations: 4.396 MB / 0.5281 GB, free: 8.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.4754, allocations: 10.97 kB / 0.5281 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.4754, allocations: 8 kB / 0.5281 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0057/0.4811, allocations: 1.647 MB / 0.5297 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.4827, allocations: 387.4 kB / 0.5301 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.272/0.7547, allocations: 24.25 MB / 0.5538 GB, free: 85.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.7565, allocations: 97.55 kB / 0.5539 GB, free: 85.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/0.7567, allocations: 72.81 kB / 0.5539 GB, free: 85.71 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.00187/0.7585, allocations: 1.41 MB / 0.5553 GB, free: 85.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004913/0.759, allocations: 284.5 kB / 0.5556 GB, free: 85.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005846/0.7649, allocations: 4.313 MB / 0.5598 GB, free: 83.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.7649, allocations: 25.31 kB / 0.5598 GB, free: 83.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.7649, allocations: 11.41 kB / 0.5598 GB, free: 83.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.7649, allocations: 10.55 kB / 0.5598 GB, free: 83.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.7763, allocations: 7.766 MB / 0.5674 GB, free: 76.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.7764, allocations: 4 kB / 0.5674 GB, free: 76.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.7775, allocations: 297 kB / 0.5677 GB, free: 75.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004836/0.7823, allocations: 1.612 MB / 0.5693 GB, free: 74.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000238/0.7825, allocations: 59.98 kB / 0.5693 GB, free: 74.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01867/0.8012, allocations: 24.01 MB / 0.5928 GB, free: 49.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.8012, allocations: 8.047 kB / 0.5928 GB, free: 49.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007991/0.8092, allocations: 6.037 MB / 0.5987 GB, free: 43.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/0.8111, allocations: 0.5743 MB / 0.5992 GB, free: 42.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003611/0.8115, allocations: 55.98 kB / 0.5993 GB, free: 42.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.8127, allocations: 125.9 kB / 0.5994 GB, free: 42.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005121/0.8132, allocations: 225.4 kB / 0.5996 GB, free: 42.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.8134, allocations: 63.98 kB / 0.5997 GB, free: 42.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001857/0.8152, allocations: 1.535 MB / 0.6012 GB, free: 40.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8152, allocations: 0 / 0.6012 GB, free: 40.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003466/0.8187, allocations: 0.9435 MB / 0.6021 GB, free: 39.79 MB / 446.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.0005956/0.8193, allocations: 256.5 kB / 0.6024 GB, free: 39.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005609/0.8249, allocations: 4.764 MB / 0.607 GB, free: 34.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.8249, allocations: 7.938 kB / 0.607 GB, free: 34.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003672/0.8286, allocations: 3.272 MB / 0.6102 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/0.8317, allocations: 0.7318 MB / 0.6109 GB, free: 30.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.8437, allocations: 8.573 MB / 0.6193 GB, free: 21.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002358/0.8461, allocations: 2.647 MB / 0.6219 GB, free: 19.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001662/0.8477, allocations: 0.529 MB / 0.6224 GB, free: 18.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.8482, allocations: 151.4 kB / 0.6225 GB, free: 18.56 MB / 446.1 MB Notification: Performance of SimCode: time 1.653e-06/0.8482, allocations: 0 / 0.6225 GB, free: 18.56 MB / 446.1 MB Notification: Performance of Templates: time 0.09714/0.9453, allocations: 58.1 MB / 0.6793 GB, free: 9.227 MB / 494.1 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.591815782245249]