Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001024/0.001024, allocations: 86.58 kB / 21.42 MB, free: 3.07 MB / 18.57 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.00193/0.00193, allocations: 167.9 kB / 24.82 MB, free: 8.707 MB / 18.57 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 1.032/1.032, allocations: 177 MB / 205.1 MB, free: 5.461 MB / 186.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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.511e-05, allocations: 5.125 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005729/0.005754, allocations: 6.703 MB / 280 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003768/0.009522, allocations: 2.301 MB / 282.3 MB, free: 8.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009012/0.01042, allocations: 63.56 kB / 282.4 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009503/0.01137, allocations: 461.2 kB / 282.8 MB, free: 7.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.01315, allocations: 0.7491 MB / 283.6 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.01367, allocations: 275.7 kB / 283.9 MB, free: 6.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002926/0.01659, allocations: 2.979 MB / 286.8 MB, free: 3.625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.01798, allocations: 1.336 MB / 288.2 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.02047, allocations: 2.03 MB / 290.2 MB, free: 220 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1889/0.2094, allocations: 1.534 MB / 291.7 MB, free: 17.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001178/0.2106, allocations: 352.7 kB / 292.1 MB, free: 17.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004504/0.2151, allocations: 433.6 kB / 292.5 MB, free: 17.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007719/0.2159, allocations: 0.9561 MB / 293.5 MB, free: 17.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004611/0.2205, allocations: 1.079 MB / 294.5 MB, free: 17.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003494/0.224, allocations: 2.582 MB / 297.1 MB, free: 16.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.224, allocations: 0 / 297.1 MB, free: 16.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.224, allocations: 0.9062 kB / 297.1 MB, free: 16.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.895e-05/0.2241, allocations: 2.125 kB / 297.1 MB, free: 16.95 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: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.004792/0.2288, allocations: 3.089 MB / 300.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2289, allocations: 14.08 kB / 300.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.2301, allocations: 0.524 MB / 300.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.2323, allocations: 1.38 MB / 302.1 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.2324, allocations: 166.7 kB / 302.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/0.2326, allocations: 218.7 kB / 302.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/0.2354, allocations: 1.764 MB / 304.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.2354, allocations: 6.812 kB / 304.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.2356, allocations: 92.95 kB / 304.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.2357, allocations: 118.5 kB / 304.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.237, allocations: 0.6137 MB / 305.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008186/0.2452, allocations: 6.471 MB / 311.6 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.2463, allocations: 1.028 MB / 312.6 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007631/0.2471, allocations: 0.5731 MB / 313.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.2473, allocations: 48.08 kB / 313.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.2473, allocations: 52.66 kB / 313.3 MB, free: 8.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.647e-06/0.2473, allocations: 0 / 313.3 MB, free: 8.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.004816/0.2521, allocations: 2.423 MB / 315.7 MB, free: 6.402 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.2521, allocations: 71.66 kB / 315.8 MB, free: 6.324 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.2532, allocations: 1.047 MB / 316.8 MB, free: 5.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.2533, allocations: 49.7 kB / 316.9 MB, free: 5.363 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004685/0.2538, allocations: 1.076 MB / 317.9 MB, free: 4.324 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.254, allocations: 480.2 kB / 318.4 MB, free: 3.883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/0.2543, allocations: 247 kB / 318.7 MB, free: 3.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.2544, allocations: 0.5513 MB / 319.2 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.2547, allocations: 142.5 kB / 319.3 MB, free: 2.984 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.255, allocations: 395 kB / 319.7 MB, free: 2.559 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006475/0.2557, allocations: 0.5971 MB / 320.3 MB, free: 1.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2557, allocations: 0 / 320.3 MB, free: 1.934 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001432/0.2571, allocations: 1.047 MB / 321.4 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.2571, allocations: 7.938 kB / 321.4 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2571, allocations: 4 kB / 321.4 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/0.2586, allocations: 0.5385 MB / 321.9 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/0.2592, allocations: 195 kB / 322.1 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00726/0.2664, allocations: 10 MB / 332.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007433/0.2672, allocations: 32 kB / 332.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.2672, allocations: 36 kB / 332.2 MB, free: 5.84 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.0007474/0.268, allocations: 232 kB / 332.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.2682, allocations: 206 kB / 332.6 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.2696, allocations: 1.044 MB / 333.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2696, allocations: 12 kB / 333.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2696, allocations: 4 kB / 333.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2696, allocations: 7.969 kB / 333.7 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/0.2735, allocations: 2.922 MB / 336.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.2735, allocations: 4.125 kB / 336.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.2739, allocations: 146.6 kB / 336.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.275, allocations: 0.5309 MB / 337.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.289e-05/0.2751, allocations: 28 kB / 337.3 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007248/0.2823, allocations: 9.921 MB / 347.2 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2823, allocations: 7.938 kB / 347.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.2843, allocations: 1.386 MB / 348.6 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004841/0.2848, allocations: 266.2 kB / 348.9 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.2849, allocations: 31.98 kB / 348.9 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.2852, allocations: 47.97 kB / 349 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/0.2855, allocations: 113 kB / 349.1 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.2855, allocations: 24 kB / 349.1 MB, free: 4.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004766/0.286, allocations: 0.5994 MB / 349.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.286, allocations: 2.734 kB / 349.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001496/0.2875, allocations: 0.5117 MB / 350.2 MB, free: 3.848 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.0004078/0.2879, allocations: 216.4 kB / 350.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.2896, allocations: 1.619 MB / 352 MB, free: 1.996 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2896, allocations: 0 / 352 MB, free: 1.996 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.2906, allocations: 1.379 MB / 353.4 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.2916, allocations: 414.9 kB / 353.8 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/0.2972, allocations: 3.928 MB / 357.7 MB, free: 12.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.2978, allocations: 0.7042 MB / 358.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004198/0.2982, allocations: 159.9 kB / 358.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006527/0.2989, allocations: 457.9 kB / 359.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2989, allocations: 0 / 359.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of Templates: time 0.03791/0.3368, allocations: 30.97 MB / 390 MB, free: 12.41 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6439562123268843]