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.001427/0.001427, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001351/0.001351, allocations: 141.4 kB / 25.59 MB, free: 8.906 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.9397/0.9397, allocations: 173.4 MB / 202.2 MB, free: 8.277 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 1.493e-06/1.493e-06, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.744e-05, allocations: 2.312 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005328/0.005345, allocations: 6.643 MB / 275.8 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003223/0.008569, allocations: 2.24 MB / 278.1 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005627/0.009131, allocations: 63.56 kB / 278.1 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000802/0.009933, allocations: 460.9 kB / 278.6 MB, free: 368 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.01113, allocations: 0.7219 MB / 279.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.01151, allocations: 263.7 kB / 279.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.01353, allocations: 2.936 MB / 282.5 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.01482, allocations: 1.344 MB / 283.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.01726, allocations: 1.999 MB / 285.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.01912, allocations: 1.528 MB / 287.4 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006005/0.01972, allocations: 348 kB / 287.7 MB, free: 7.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006202/0.02034, allocations: 427.8 kB / 288.1 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005916/0.02093, allocations: 0.9466 MB / 289.1 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.02207, allocations: 1.08 MB / 290.2 MB, free: 4.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.02425, allocations: 2.555 MB / 292.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.02425, allocations: 0 / 292.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.02425, allocations: 0 / 292.7 MB, free: 2.168 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.456e-05/0.02432, allocations: 4 kB / 292.7 MB, free: 2.164 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.003235/0.02755, allocations: 3.074 MB / 295.8 MB, free: 15.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.02758, allocations: 12.03 kB / 295.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006258/0.02821, allocations: 0.4952 MB / 296.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.02957, allocations: 1.36 MB / 297.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.531e-05/0.02965, allocations: 164.7 kB / 297.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.02987, allocations: 219.9 kB / 298 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.03165, allocations: 1.755 MB / 299.8 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.03169, allocations: 4 kB / 299.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.03181, allocations: 84 kB / 299.9 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.994e-05/0.03189, allocations: 112.4 kB / 300 MB, free: 10.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008769/0.03277, allocations: 0.6197 MB / 300.6 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006423/0.03919, allocations: 6.419 MB / 307 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.04029, allocations: 1.038 MB / 308.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006281/0.04092, allocations: 0.5675 MB / 308.6 MB, free: 1.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.04105, allocations: 49.3 kB / 308.7 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.04109, allocations: 46.7 kB / 308.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 2.986e-06/0.04109, allocations: 0 / 308.7 MB, free: 1.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=132): time 0.004081/0.04517, allocations: 2.423 MB / 311.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.0452, allocations: 64.72 kB / 311.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008328/0.04603, allocations: 1.043 MB / 312.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.04609, allocations: 53.7 kB / 312.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004805/0.04657, allocations: 1.066 MB / 313.4 MB, free: 13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.04681, allocations: 480 kB / 313.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.04705, allocations: 248.4 kB / 314.1 MB, free: 12.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.0472, allocations: 0.5511 MB / 314.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.04739, allocations: 142.5 kB / 314.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.04772, allocations: 393.1 kB / 315.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005669/0.04828, allocations: 0.6024 MB / 315.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.04829, allocations: 0 / 315.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00126/0.04955, allocations: 1.045 MB / 316.8 MB, free: 9.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.04957, allocations: 11.94 kB / 316.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.04958, allocations: 4 kB / 316.8 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.05079, allocations: 0.5374 MB / 317.4 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.05121, allocations: 199.7 kB / 317.6 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005794/0.057, allocations: 9.993 MB / 327.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005907/0.05759, allocations: 28 kB / 327.6 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.05764, allocations: 32 kB / 327.6 MB, free: 14.12 MB / 314.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.0006045/0.05825, allocations: 228.3 kB / 327.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/0.05855, allocations: 203 kB / 328 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.05995, allocations: 1.045 MB / 329.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.05996, allocations: 12 kB / 329.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.05996, allocations: 4 kB / 329.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.05998, allocations: 7.969 kB / 329.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/0.06369, allocations: 2.909 MB / 332 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.0637, allocations: 0 / 332 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.06405, allocations: 151.9 kB / 332.2 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/0.06524, allocations: 0.5411 MB / 332.7 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.06531, allocations: 36.05 kB / 332.7 MB, free: 8.855 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005594/0.0709, allocations: 9.905 MB / 342.6 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.0709, allocations: 0 / 342.6 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.07266, allocations: 1.392 MB / 344 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004738/0.07313, allocations: 263 kB / 344.3 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.07325, allocations: 28 kB / 344.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.07361, allocations: 47.97 kB / 344.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.07378, allocations: 117 kB / 344.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/0.07383, allocations: 27.98 kB / 344.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004881/0.07432, allocations: 0.5865 MB / 345.1 MB, free: 12 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07432, allocations: 4 kB / 345.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001348/0.07567, allocations: 0.5117 MB / 345.6 MB, free: 11.48 MB / 330.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.0003919/0.07606, allocations: 220.5 kB / 345.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.07763, allocations: 1.62 MB / 347.4 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.07763, allocations: 3.938 kB / 347.4 MB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.0787, allocations: 1.373 MB / 348.8 MB, free: 8.125 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009662/0.07967, allocations: 411.9 kB / 349.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004826/0.08449, allocations: 3.903 MB / 353.1 MB, free: 3.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.08505, allocations: 0.7052 MB / 353.8 MB, free: 3.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00039/0.08544, allocations: 159.9 kB / 354 MB, free: 2.859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/0.08607, allocations: 449.9 kB / 354.4 MB, free: 2.418 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.08607, allocations: 0 / 354.4 MB, free: 2.418 MB / 330.7 MB Notification: Performance of Templates: time 0.1755/0.2616, allocations: 31.51 MB / 385.9 MB, free: 64.56 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.7364154597744346]