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.001798/0.001798, allocations: 74.44 kB / 20.49 MB, free: 1.246 MB / 14.72 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.001741/0.001741, allocations: 145.1 kB / 23.73 MB, free: 4.234 MB / 14.72 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.498/1.498, allocations: 173.4 MB / 200.3 MB, free: 12.96 MB / 190.1 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 0.001625/0.001625, allocations: 46.91 kB / 318.7 MB, free: 3.605 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09654/0.09817, allocations: 52.16 MB / 370.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01212/0.1103, allocations: 9.38 MB / 380.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006647/0.1169, allocations: 3.081 MB / 383.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.1185, allocations: 111.2 kB / 383.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001914/0.1205, allocations: 0.7176 MB / 384.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003597/0.1241, allocations: 1.181 MB / 385.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.1252, allocations: 475.5 kB / 385.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006382/0.1316, allocations: 5.139 MB / 390.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003572/0.1352, allocations: 2.425 MB / 393.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006793/0.1419, allocations: 3.663 MB / 397 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00493/0.1469, allocations: 2.787 MB / 399.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.1482, allocations: 0.625 MB / 400.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.1502, allocations: 0.6951 MB / 401.1 MB, free: 9.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001833/0.152, allocations: 1.652 MB / 402.8 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003772/0.1558, allocations: 2.245 MB / 405 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00999/0.1658, allocations: 8.479 MB / 413.5 MB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.1658, allocations: 4 kB / 413.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1658, allocations: 0 / 413.5 MB, free: 12.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002497/0.166, allocations: 0 / 413.5 MB, free: 12.75 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.01443/0.1805, allocations: 5.151 MB / 418.6 MB, free: 7.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.1805, allocations: 8.922 kB / 418.7 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00275/0.1833, allocations: 0.572 MB / 419.2 MB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007516/0.1908, allocations: 2.818 MB / 422 MB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004485/0.1912, allocations: 295.8 kB / 422.3 MB, free: 3.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001709/0.1929, allocations: 383.9 kB / 422.7 MB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/0.2084, allocations: 6.127 MB / 428.8 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.2086, allocations: 7.938 kB / 428.8 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001108/0.2097, allocations: 156 kB / 429 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002777/0.21, allocations: 208 kB / 429.2 MB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/0.2216, allocations: 5.016 MB / 434.2 MB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03142/0.2531, allocations: 14.12 MB / 448.3 MB, free: 9.328 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00663/0.2597, allocations: 3.894 MB / 452.2 MB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004139/0.2638, allocations: 2.451 MB / 454.7 MB, free: 3.098 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002869/0.2641, allocations: 57.91 kB / 454.7 MB, free: 3.043 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.399e-05/0.2642, allocations: 64.56 kB / 454.8 MB, free: 2.969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 5.059e-06/0.2642, allocations: 0 / 454.8 MB, free: 2.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02221/0.2864, allocations: 10.01 MB / 464.8 MB, free: 8.879 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.2865, allocations: 85.42 kB / 464.9 MB, free: 8.781 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004807/0.2913, allocations: 2.188 MB / 467.1 MB, free: 6.555 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003582/0.2916, allocations: 69.7 kB / 467.1 MB, free: 6.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/0.2932, allocations: 1.696 MB / 468.8 MB, free: 4.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001175/0.2944, allocations: 0.8908 MB / 469.7 MB, free: 3.871 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.2954, allocations: 412.7 kB / 470.1 MB, free: 3.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2955, allocations: 309.1 kB / 470.4 MB, free: 3.156 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.2979, allocations: 1.336 MB / 471.8 MB, free: 1.816 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002712/0.3006, allocations: 1.651 MB / 473.4 MB, free: 68 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1963/0.4968, allocations: 3.086 MB / 476.5 MB, free: 88.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.4968, allocations: 2.125 kB / 476.5 MB, free: 88.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007661/0.5045, allocations: 4.395 MB / 480.9 MB, free: 86.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.5045, allocations: 8.094 kB / 480.9 MB, free: 86.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.5046, allocations: 5.438 kB / 480.9 MB, free: 86.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005199/0.5097, allocations: 1.644 MB / 482.6 MB, free: 86.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.5113, allocations: 389.6 kB / 482.9 MB, free: 85.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/0.5315, allocations: 24.25 MB / 0.4953 GB, free: 66.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.5334, allocations: 97.61 kB / 0.4954 GB, free: 66.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.5337, allocations: 83.98 kB / 0.4955 GB, free: 66.62 MB / 430.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.002004/0.5357, allocations: 1.398 MB / 0.4968 GB, free: 65.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006055/0.5363, allocations: 277.3 kB / 0.4971 GB, free: 65.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006039/0.5423, allocations: 4.312 MB / 0.5013 GB, free: 60.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.5423, allocations: 26.52 kB / 0.5013 GB, free: 60.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.5423, allocations: 8 kB / 0.5014 GB, free: 60.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/0.5424, allocations: 11.95 kB / 0.5014 GB, free: 60.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.5538, allocations: 7.766 MB / 0.509 GB, free: 52.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/0.5539, allocations: 384 / 0.509 GB, free: 52.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.555, allocations: 287.6 kB / 0.5092 GB, free: 52.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004453/0.5594, allocations: 1.621 MB / 0.5108 GB, free: 50.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/0.5597, allocations: 55.98 kB / 0.5109 GB, free: 50.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01858/0.5783, allocations: 24.01 MB / 0.5343 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5783, allocations: 0 / 0.5343 GB, free: 26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007688/0.5859, allocations: 6.046 MB / 0.5402 GB, free: 19.85 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/0.5876, allocations: 0.5784 MB / 0.5408 GB, free: 19.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003928/0.588, allocations: 55.98 kB / 0.5408 GB, free: 19.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.5891, allocations: 123.9 kB / 0.5409 GB, free: 19.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004476/0.5896, allocations: 229.4 kB / 0.5412 GB, free: 18.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.5897, allocations: 63.98 kB / 0.5412 GB, free: 18.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001817/0.5915, allocations: 1.527 MB / 0.5427 GB, free: 17.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5915, allocations: 0 / 0.5427 GB, free: 17.26 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003146/0.5947, allocations: 0.9453 MB / 0.5436 GB, free: 16.32 MB / 430.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.00059/0.5953, allocations: 248.8 kB / 0.5439 GB, free: 16.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005981/0.6013, allocations: 4.767 MB / 0.5485 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6013, allocations: 4 kB / 0.5485 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003881/0.6051, allocations: 3.269 MB / 0.5517 GB, free: 7.781 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/0.6081, allocations: 0.7287 MB / 0.5524 GB, free: 7.047 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.6209, allocations: 8.572 MB / 0.5608 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003837/0.6248, allocations: 2.643 MB / 0.5634 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001833/0.6266, allocations: 0.5172 MB / 0.5639 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006647/0.6273, allocations: 152.5 kB / 0.564 GB, free: 11.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.352e-06/0.6273, allocations: 4 kB / 0.5641 GB, free: 11.13 MB / 446.1 MB Notification: Performance of Templates: time 0.09642/0.7237, allocations: 52.31 MB / 0.6151 GB, free: 7.508 MB / 494.1 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: 7.408188659697771]