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.0009306/0.0009306, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009635/0.0009635, allocations: 144.1 kB / 24.89 MB, free: 8.785 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.8974/0.8974, allocations: 173.4 MB / 201.5 MB, free: 8.242 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.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.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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 268.5 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.397e-05, allocations: 5.266 kB / 268.5 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009395/0.009409, allocations: 10.25 MB / 278.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004419/0.01383, allocations: 3.297 MB / 282.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/0.01439, allocations: 111.2 kB / 282.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000887/0.01527, allocations: 0.7335 MB / 282.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.0167, allocations: 1.242 MB / 284.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.01731, allocations: 467.4 kB / 284.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002948/0.02026, allocations: 5.343 MB / 289.9 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.02224, allocations: 2.503 MB / 292.4 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003264/0.02551, allocations: 3.648 MB / 296.1 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/0.02799, allocations: 2.748 MB / 298.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005394/0.02853, allocations: 0.6211 MB / 299.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007099/0.02924, allocations: 0.6952 MB / 300.1 MB, free: 10 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009153/0.03015, allocations: 1.722 MB / 301.9 MB, free: 8.277 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.03155, allocations: 1.953 MB / 303.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003164/0.03472, allocations: 4.596 MB / 308.4 MB, free: 1.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.03472, allocations: 4 kB / 308.4 MB, free: 1.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.03472, allocations: 4 kB / 308.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.373e-05/0.03476, allocations: 0 / 308.4 MB, free: 1.703 MB / 282.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.004596/0.03936, allocations: 4.814 MB / 313.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.03939, allocations: 12.03 kB / 313.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.04041, allocations: 0.7307 MB / 314 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.04258, allocations: 1.702 MB / 315.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.04277, allocations: 299.5 kB / 316 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006542/0.04342, allocations: 395.9 kB / 316.4 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003902/0.04733, allocations: 3.229 MB / 319.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.098e-05/0.04738, allocations: 0 / 319.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.04762, allocations: 160 kB / 319.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001376/0.04776, allocations: 208 kB / 320 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.0496, allocations: 1.186 MB / 321.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.06156, allocations: 9.077 MB / 330.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.06335, allocations: 1.931 MB / 332.1 MB, free: 9.398 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.06442, allocations: 1.061 MB / 333.2 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.06459, allocations: 69.98 kB / 333.3 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.06464, allocations: 60.55 kB / 333.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of pre-optimization done (n=249): time 4.698e-06/0.06465, allocations: 7.938 kB / 333.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=256): time 0.007286/0.07193, allocations: 4.104 MB / 337.4 MB, free: 4.012 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.07197, allocations: 81.42 kB / 337.5 MB, free: 3.918 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.07331, allocations: 1.434 MB / 339 MB, free: 2.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.07342, allocations: 69.7 kB / 339 MB, free: 2.371 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000582/0.074, allocations: 1.379 MB / 340.4 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00044/0.07444, allocations: 0.8751 MB / 341.3 MB, free: 96 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1083/0.1827, allocations: 385.8 kB / 341.7 MB, free: 71.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 2.526e-05/0.1827, allocations: 302.4 kB / 342 MB, free: 71.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005418/0.1833, allocations: 295.8 kB / 342.2 MB, free: 71.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.1838, allocations: 0.5411 MB / 342.8 MB, free: 71.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.185, allocations: 1.069 MB / 343.9 MB, free: 71.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.185, allocations: 1.281 kB / 343.9 MB, free: 71.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002476/0.1875, allocations: 1.657 MB / 345.5 MB, free: 70.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1875, allocations: 8.25 kB / 345.5 MB, free: 70.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.1875, allocations: 7.812 kB / 345.5 MB, free: 70.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/0.1896, allocations: 1.01 MB / 346.5 MB, free: 70.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.1903, allocations: 379.1 kB / 346.9 MB, free: 70.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007376/0.1977, allocations: 17.35 MB / 364.3 MB, free: 56.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007226/0.1984, allocations: 64.55 kB / 364.3 MB, free: 56.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.1985, allocations: 60.31 kB / 364.4 MB, free: 56.88 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.0006442/0.1991, allocations: 248.1 kB / 364.6 MB, free: 56.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.1994, allocations: 268.2 kB / 364.9 MB, free: 56.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.2012, allocations: 1.74 MB / 366.6 MB, free: 55.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.2012, allocations: 28 kB / 366.7 MB, free: 55.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2012, allocations: 8 kB / 366.7 MB, free: 55.81 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.2012, allocations: 11.2 kB / 366.7 MB, free: 55.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004075/0.2053, allocations: 3.728 MB / 370.4 MB, free: 52.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.2053, allocations: 4 kB / 370.4 MB, free: 52.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/0.2059, allocations: 272.6 kB / 370.7 MB, free: 52.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/0.2077, allocations: 1.038 MB / 371.7 MB, free: 51.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.896e-05/0.2078, allocations: 55.97 kB / 371.8 MB, free: 51.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006734/0.2145, allocations: 17.54 MB / 389.3 MB, free: 32.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2145, allocations: 4 kB / 389.3 MB, free: 32.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.2168, allocations: 2.133 MB / 391.4 MB, free: 30.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005432/0.2174, allocations: 335.9 kB / 391.8 MB, free: 30.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.2175, allocations: 55.98 kB / 391.8 MB, free: 30.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/0.2181, allocations: 99.89 kB / 391.9 MB, free: 30.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/0.2183, allocations: 205.5 kB / 392.1 MB, free: 30.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.2184, allocations: 48 kB / 392.2 MB, free: 29.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005627/0.219, allocations: 0.7632 MB / 392.9 MB, free: 29.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.219, allocations: 0 / 392.9 MB, free: 29.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002069/0.2211, allocations: 0.9451 MB / 393.9 MB, free: 28.34 MB / 314.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.0003988/0.2214, allocations: 250.4 kB / 394.1 MB, free: 28.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.2235, allocations: 2.784 MB / 396.9 MB, free: 25.22 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.899e-05/0.2235, allocations: 20.5 kB / 396.9 MB, free: 25.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001463/0.225, allocations: 2.378 MB / 399.3 MB, free: 22.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.2263, allocations: 0.7557 MB / 400.1 MB, free: 21.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007006/0.2333, allocations: 6.894 MB / 407 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008366/0.2342, allocations: 1.019 MB / 408 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005821/0.2348, allocations: 274 kB / 408.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/0.2358, allocations: 0.6845 MB / 408.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of SimCode: time 1.173e-06/0.2358, allocations: 0 / 408.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of Templates: time 0.06361/0.2994, allocations: 55.74 MB / 464.7 MB, free: 6.184 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] 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","",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.203022883273661]