Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006843/0.0006843, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001115/0.001799, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006713/0.0006713, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008891/0.00156, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9949/0.9949, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08589/1.081, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/1.983e-05, allocations: 5.406 kB / 245.2 MB, free: 13.51 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.02015/0.02017, allocations: 10.44 MB / 255.7 MB, free: 3.023 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01634/0.03651, allocations: 3.406 MB / 259.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005638/0.04215, allocations: 107.2 kB / 259.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005053/0.0472, allocations: 0.7566 MB / 259.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006889/0.05409, allocations: 1.246 MB / 261.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.05523, allocations: 495.3 kB / 261.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01177/0.067, allocations: 5.426 MB / 267.1 MB, free: 7.551 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006347/0.07335, allocations: 2.507 MB / 269.6 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01634/0.08969, allocations: 3.989 MB / 273.6 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1396/0.2293, allocations: 2.753 MB / 276.3 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001779/0.231, allocations: 0.6256 MB / 277 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.2328, allocations: 0.7073 MB / 277.7 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.2341, allocations: 1.422 MB / 279.1 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002787/0.2369, allocations: 1.625 MB / 280.7 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00461/0.2415, allocations: 4.347 MB / 285.1 MB, free: 5.562 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-05/0.2415, allocations: 3.344 kB / 285.1 MB, free: 5.562 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2415, allocations: 3.406 kB / 285.1 MB, free: 5.562 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001832/0.2417, allocations: 0 / 285.1 MB, free: 5.562 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.009279/0.251, allocations: 5.834 MB / 290.9 MB, free: 3.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.251, allocations: 9.844 kB / 290.9 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.2524, allocations: 0.8336 MB / 291.8 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.2555, allocations: 1.718 MB / 293.5 MB, free: 2.922 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.2556, allocations: 298.7 kB / 293.8 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005051/0.2562, allocations: 392.9 kB / 294.2 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004052/0.2602, allocations: 3.249 MB / 297.4 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.443e-05/0.2603, allocations: 3.938 kB / 297.4 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002444/0.2605, allocations: 166.6 kB / 297.6 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/0.2606, allocations: 223.7 kB / 297.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002135/0.2628, allocations: 1.184 MB / 299 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/0.2767, allocations: 9.216 MB / 308.2 MB, free: 8.039 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.279, allocations: 1.942 MB / 310.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.2801, allocations: 1.065 MB / 311.2 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001819/0.2803, allocations: 69.97 kB / 311.3 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.2803, allocations: 64.12 kB / 311.3 MB, free: 5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=249): time 3.757e-06/0.2803, allocations: 0 / 311.3 MB, free: 5 MB / 282.7 MB Notification: Performance of matching and sorting (n=256): time 0.008186/0.2885, allocations: 4.172 MB / 315.5 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2885, allocations: 84.98 kB / 315.6 MB, free: 0.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.2901, allocations: 1.444 MB / 317 MB, free: 15.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001742/0.2903, allocations: 69.7 kB / 317.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005591/0.2909, allocations: 1.393 MB / 318.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004926/0.2913, allocations: 0.8731 MB / 319.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003941/0.2917, allocations: 386.9 kB / 319.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.2918, allocations: 309.1 kB / 320 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/0.2923, allocations: 300 kB / 320.3 MB, free: 12.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004937/0.2927, allocations: 0.5438 MB / 320.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.2939, allocations: 1.095 MB / 322 MB, free: 10.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.2939, allocations: 8 kB / 322 MB, free: 10.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002405/0.2963, allocations: 1.643 MB / 323.6 MB, free: 9.016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.2963, allocations: 10.81 kB / 323.6 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.2963, allocations: 8 kB / 323.6 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/0.2987, allocations: 1.047 MB / 324.7 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.2999, allocations: 487.6 kB / 325.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.3108, allocations: 17.39 MB / 342.6 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.3121, allocations: 59.98 kB / 342.6 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.3122, allocations: 56 kB / 342.7 MB, free: 5.395 MB / 314.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.00103/0.3132, allocations: 252.3 kB / 342.9 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004428/0.3137, allocations: 279 kB / 343.2 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/0.3166, allocations: 1.742 MB / 344.9 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.199e-05/0.3166, allocations: 24 kB / 345 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.62e-05/0.3167, allocations: 8 kB / 345 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.3167, allocations: 15.89 kB / 345 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007861/0.3245, allocations: 3.743 MB / 348.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.3246, allocations: 4 kB / 348.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.3258, allocations: 341.7 kB / 349.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.3271, allocations: 341.1 kB / 349.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003417/0.3305, allocations: 1.038 MB / 350.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002119/0.3307, allocations: 55.98 kB / 350.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0156/0.3463, allocations: 17.61 MB / 368.1 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.3463, allocations: 0 / 368.1 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003302/0.3496, allocations: 2.164 MB / 370.3 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004405/0.3501, allocations: 55.98 kB / 370.3 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006912/0.3508, allocations: 95.95 kB / 370.4 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000349/0.3511, allocations: 193.6 kB / 370.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.02e-05/0.3512, allocations: 51.98 kB / 370.6 MB, free: 9.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009244/0.3521, allocations: 0.7712 MB / 371.4 MB, free: 8.383 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3521, allocations: 4 kB / 371.4 MB, free: 8.379 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002674/0.3548, allocations: 0.9492 MB / 372.4 MB, free: 7.43 MB / 346.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.0005142/0.3553, allocations: 237.6 kB / 372.6 MB, free: 7.223 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002879/0.3582, allocations: 2.817 MB / 375.4 MB, free: 4.344 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.755e-05/0.3582, allocations: 48.62 kB / 375.5 MB, free: 4.297 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002142/0.3604, allocations: 2.483 MB / 378 MB, free: 1.746 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00456/0.365, allocations: 8.129 MB / 386.1 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/0.3935, allocations: 7.622 MB / 393.7 MB, free: 332 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/0.3948, allocations: 1.072 MB / 394.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001232/0.3961, allocations: 282.3 kB / 395.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/0.3977, allocations: 0.6943 MB / 395.7 MB, free: 14.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.3977, allocations: 0 / 395.7 MB, free: 14.24 MB / 378.7 MB Notification: Performance of Templates: time 0.1945/0.5921, allocations: 59.45 MB / 455.2 MB, free: 116.9 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.388490296900272]