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.0009894/0.0009894, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.000982/0.000982, allocations: 168.8 kB / 25.61 MB, free: 8.582 MB / 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 0.9541/0.9541, allocations: 177.1 MB / 206 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.086e-06/3.086e-06, allocations: 4 kB / 274.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.704e-05/4.013e-05, allocations: 2.312 kB / 274.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009068/0.009108, allocations: 10.27 MB / 284.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006593/0.0157, allocations: 3.219 MB / 287.7 MB, free: 6.855 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.01728, allocations: 111.2 kB / 287.8 MB, free: 6.746 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.01883, allocations: 0.7412 MB / 288.6 MB, free: 6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.02182, allocations: 1.226 MB / 289.8 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009898/0.02281, allocations: 495.3 kB / 290.3 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006727/0.02954, allocations: 5.316 MB / 295.6 MB, free: 14.94 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003938/0.03348, allocations: 2.441 MB / 298 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006237/0.03971, allocations: 3.643 MB / 301.7 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004017/0.04373, allocations: 2.763 MB / 304.4 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009777/0.04471, allocations: 0.625 MB / 305.1 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.04578, allocations: 0.7106 MB / 305.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.04685, allocations: 1.722 MB / 307.5 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002486/0.04934, allocations: 1.949 MB / 309.4 MB, free: 1.039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005072/0.05441, allocations: 4.6 MB / 314 MB, free: 12.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.05442, allocations: 3.984 kB / 314 MB, free: 12.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.05442, allocations: 0 / 314 MB, free: 12.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000155/0.05458, allocations: 0 / 314 MB, free: 12.42 MB / 298.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.008155/0.06273, allocations: 5.277 MB / 319.3 MB, free: 7.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.06278, allocations: 11.98 kB / 319.3 MB, free: 7.066 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.06426, allocations: 0.9234 MB / 320.3 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/0.06771, allocations: 2.392 MB / 322.6 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.06788, allocations: 296.2 kB / 322.9 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004239/0.06831, allocations: 395.9 kB / 323.3 MB, free: 3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004018/0.07233, allocations: 3.174 MB / 326.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.509e-05/0.07238, allocations: 7.938 kB / 326.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.07263, allocations: 167.9 kB / 326.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/0.07279, allocations: 204 kB / 326.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.07472, allocations: 1.105 MB / 328 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01659/0.09131, allocations: 11.73 MB / 339.7 MB, free: 2.137 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/0.09349, allocations: 2.137 MB / 341.8 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.09476, allocations: 1.157 MB / 343 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.09495, allocations: 73.97 kB / 343.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.095, allocations: 63.39 kB / 343.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=249): time 4.588e-06/0.095, allocations: 0 / 343.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=256): time 0.008634/0.1036, allocations: 4.487 MB / 347.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.1037, allocations: 81.42 kB / 347.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.1055, allocations: 1.759 MB / 349.5 MB, free: 8.328 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.1056, allocations: 69.7 kB / 349.5 MB, free: 8.254 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.1069, allocations: 1.815 MB / 351.3 MB, free: 6.422 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000655/0.1076, allocations: 0.922 MB / 352.3 MB, free: 5.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004906/0.1081, allocations: 450.7 kB / 352.7 MB, free: 5.043 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1082, allocations: 480.8 kB / 353.2 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/0.1086, allocations: 276.5 kB / 353.4 MB, free: 4.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006784/0.1093, allocations: 0.7168 MB / 354.2 MB, free: 3.449 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.1105, allocations: 1.15 MB / 355.3 MB, free: 2.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1105, allocations: 0 / 355.3 MB, free: 2.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002909/0.1135, allocations: 1.995 MB / 357.3 MB, free: 60 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.1135, allocations: 15.88 kB / 357.3 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.1135, allocations: 8 kB / 357.3 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1425/0.256, allocations: 1.079 MB / 358.4 MB, free: 78.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.2575, allocations: 374.9 kB / 358.8 MB, free: 78.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.2715, allocations: 23.64 MB / 382.4 MB, free: 59.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.2731, allocations: 61.73 kB / 382.5 MB, free: 59.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.2733, allocations: 56.94 kB / 382.5 MB, free: 59.49 MB / 330.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.001086/0.2744, allocations: 293.8 kB / 382.8 MB, free: 59.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005614/0.2749, allocations: 370.5 kB / 383.2 MB, free: 59.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/0.278, allocations: 2.011 MB / 385.2 MB, free: 58.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.278, allocations: 23.03 kB / 385.2 MB, free: 58.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/0.278, allocations: 7.656 kB / 385.2 MB, free: 58.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.2781, allocations: 19.77 kB / 385.2 MB, free: 58.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007331/0.2854, allocations: 4.493 MB / 389.7 MB, free: 57.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.2854, allocations: 0 / 389.7 MB, free: 57.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/0.2862, allocations: 278 kB / 390 MB, free: 57.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002903/0.2891, allocations: 1.061 MB / 391.1 MB, free: 57.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/0.2893, allocations: 58.2 kB / 391.1 MB, free: 57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009613/0.2989, allocations: 23.52 MB / 414.6 MB, free: 33.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2989, allocations: 4.156 kB / 414.6 MB, free: 33.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003338/0.3022, allocations: 2.49 MB / 417.1 MB, free: 30.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008052/0.303, allocations: 488.3 kB / 417.6 MB, free: 30.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.3032, allocations: 51.98 kB / 417.7 MB, free: 30.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005913/0.3038, allocations: 91.95 kB / 417.7 MB, free: 30.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003669/0.3042, allocations: 209.5 kB / 418 MB, free: 29.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.283e-05/0.3043, allocations: 47.98 kB / 418 MB, free: 29.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008395/0.3051, allocations: 0.9816 MB / 419 MB, free: 28.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3051, allocations: 0 / 419 MB, free: 28.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002861/0.308, allocations: 0.9481 MB / 419.9 MB, free: 27.96 MB / 330.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.0005904/0.3086, allocations: 246 kB / 420.2 MB, free: 27.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00294/0.3115, allocations: 3.498 MB / 423.7 MB, free: 24.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3115, allocations: 0 / 423.7 MB, free: 24.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/0.3135, allocations: 3.02 MB / 426.7 MB, free: 20.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002114/0.3156, allocations: 0.7511 MB / 427.4 MB, free: 20.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008721/0.3243, allocations: 7.099 MB / 434.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009643/0.3253, allocations: 1.253 MB / 435.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008015/0.3261, allocations: 278 kB / 436.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/0.3272, allocations: 0.7711 MB / 436.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of SimCode: time 2.024e-06/0.3272, allocations: 0 / 436.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of Templates: time 0.07601/0.4032, allocations: 56.93 MB / 493.8 MB, free: 2.562 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.635715262964368]