Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.0009313/0.0009313, allocations: 72.08 kB / 21.69 MB, free: 2.852 MB / 18.57 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.0008914/0.0008914, allocations: 146 kB / 24.97 MB, free: 9.348 MB / 18.57 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 0.9376/0.9376, allocations: 173.4 MB / 201.5 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] 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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.534e-06/2.534e-06, allocations: 0 / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/3.021e-05, allocations: 2.312 kB / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.00848/0.00851, allocations: 6.793 MB / 274.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005074/0.01358, allocations: 2.247 MB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.01472, allocations: 63.56 kB / 277.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009504/0.01567, allocations: 452.9 kB / 277.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.01713, allocations: 0.7258 MB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.01757, allocations: 267.6 kB / 278.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002359/0.01993, allocations: 2.94 MB / 281.5 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.02147, allocations: 1.348 MB / 282.9 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/0.02407, allocations: 2.003 MB / 284.9 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.02643, allocations: 1.512 MB / 286.4 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006474/0.02708, allocations: 348 kB / 286.8 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006954/0.02778, allocations: 431.8 kB / 287.2 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006316/0.02841, allocations: 0.9427 MB / 288.1 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.02996, allocations: 1.084 MB / 289.2 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1565/0.1864, allocations: 2.548 MB / 291.7 MB, free: 20.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1864, allocations: 5.062 kB / 291.8 MB, free: 20.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1864, allocations: 0 / 291.8 MB, free: 20.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.1865, allocations: 0.875 kB / 291.8 MB, free: 20.69 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01194/0.1985, allocations: 3.157 MB / 294.9 MB, free: 19.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1985, allocations: 10.23 kB / 294.9 MB, free: 19.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002977/0.2015, allocations: 0.4918 MB / 295.4 MB, free: 19.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002977/0.2045, allocations: 1.487 MB / 296.9 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.2046, allocations: 164.2 kB / 297.1 MB, free: 18.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003897/0.205, allocations: 216.8 kB / 297.3 MB, free: 18.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003406/0.2084, allocations: 1.906 MB / 299.2 MB, free: 18.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.2084, allocations: 0 / 299.2 MB, free: 18.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.2086, allocations: 92.14 kB / 299.3 MB, free: 18.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.2087, allocations: 108.1 kB / 299.4 MB, free: 18.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.2107, allocations: 0.7994 MB / 300.2 MB, free: 18.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007981/0.2187, allocations: 6.971 MB / 307.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.22, allocations: 1.142 MB / 308.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008567/0.2209, allocations: 0.6425 MB / 308.9 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000228/0.2211, allocations: 49.53 kB / 309 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.2212, allocations: 57.48 kB / 309 MB, free: 13.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 4.88e-06/0.2212, allocations: 0 / 309 MB, free: 13.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.005065/0.2262, allocations: 3.062 MB / 312.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.2263, allocations: 67.94 kB / 312.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/0.2272, allocations: 1.08 MB / 313.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.2273, allocations: 45.05 kB / 313.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000353/0.2277, allocations: 1.047 MB / 314.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.2279, allocations: 484.3 kB / 314.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.2281, allocations: 240.5 kB / 315 MB, free: 10.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.2281, allocations: 0.5434 MB / 315.6 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.2285, allocations: 196.4 kB / 315.8 MB, free: 9.586 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/0.2289, allocations: 433.2 kB / 316.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007506/0.2296, allocations: 0.6944 MB / 316.9 MB, free: 8.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2296, allocations: 0 / 316.9 MB, free: 8.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001523/0.2311, allocations: 1.161 MB / 318.1 MB, free: 7.203 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2312, allocations: 8 kB / 318.1 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2312, allocations: 7.938 kB / 318.1 MB, free: 7.188 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.2325, allocations: 0.5572 MB / 318.6 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.2329, allocations: 198 kB / 318.8 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/0.2391, allocations: 10.29 MB / 329.1 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/0.2399, allocations: 55.86 kB / 329.2 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.2399, allocations: 43.97 kB / 329.2 MB, free: 11.64 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006152/0.2405, allocations: 223.7 kB / 329.4 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.2408, allocations: 195.1 kB / 329.6 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.2426, allocations: 1.189 MB / 330.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.2426, allocations: 12 kB / 330.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2426, allocations: 4 kB / 330.8 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.2426, allocations: 7.969 kB / 330.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004066/0.2466, allocations: 3.076 MB / 333.9 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2467, allocations: 0 / 333.9 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.247, allocations: 155.3 kB / 334.1 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/0.2483, allocations: 0.5621 MB / 334.6 MB, free: 6.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/0.2484, allocations: 31.98 kB / 334.6 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006018/0.2544, allocations: 10.21 MB / 344.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2544, allocations: 3.656 kB / 344.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.2566, allocations: 1.559 MB / 346.4 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005417/0.2571, allocations: 290.9 kB / 346.7 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.2573, allocations: 30.3 kB / 346.7 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.2577, allocations: 67.94 kB / 346.8 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.2579, allocations: 129.1 kB / 346.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/0.258, allocations: 35.94 kB / 347 MB, free: 9.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007506/0.2587, allocations: 0.6531 MB / 347.6 MB, free: 8.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2587, allocations: 3.75 kB / 347.6 MB, free: 8.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0015/0.2602, allocations: 0.5117 MB / 348.1 MB, free: 8.242 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004609/0.2607, allocations: 208.2 kB / 348.3 MB, free: 8.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.2627, allocations: 1.709 MB / 350 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2627, allocations: 3.562 kB / 350 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.2639, allocations: 1.407 MB / 351.5 MB, free: 4.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.265, allocations: 409.9 kB / 351.9 MB, free: 4.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005758/0.2708, allocations: 3.935 MB / 355.8 MB, free: 452 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/0.2714, allocations: 0.6998 MB / 356.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000523/0.272, allocations: 227.8 kB / 356.7 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.2722, allocations: 96.48 kB / 356.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of SimCode: time 2.014e-06/0.2722, allocations: 0 / 356.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of Templates: time 0.0349/0.3071, allocations: 29.19 MB / 386 MB, free: 2.637 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.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: 3.7155492920428514]