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.0008235/0.0008235, allocations: 84 kB / 21.43 MB, free: 3.129 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.003054/0.003054, allocations: 144.8 kB / 24.68 MB, free: 9.426 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.7969/0.7969, allocations: 173.4 MB / 201.2 MB, free: 9.434 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.1..i|transformer1.l2sigma.inductor.3..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.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.305e-05, allocations: 2.281 kB / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.00492/0.004944, allocations: 6.12 MB / 325.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.007449, allocations: 2.181 MB / 328 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.007758, allocations: 59.56 kB / 328.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006684/0.008426, allocations: 460.9 kB / 328.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009139/0.00934, allocations: 0.7219 MB / 329.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.009625, allocations: 271.6 kB / 329.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.0114, allocations: 2.928 MB / 332.4 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.0124, allocations: 1.332 MB / 333.8 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.01395, allocations: 1.957 MB / 335.7 MB, free: 5.695 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.01503, allocations: 1.391 MB / 337.1 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004688/0.01549, allocations: 352 kB / 337.4 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003834/0.01588, allocations: 431.8 kB / 337.9 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004413/0.01632, allocations: 0.9232 MB / 338.8 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006299/0.01695, allocations: 1.068 MB / 339.9 MB, free: 1.539 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002815/0.01976, allocations: 4.694 MB / 344.6 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.01977, allocations: 0 / 344.6 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01977, allocations: 0 / 344.6 MB, free: 12.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.961e-05/0.0198, allocations: 0 / 344.6 MB, free: 12.83 MB / 314.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.003089/0.02289, allocations: 2.936 MB / 347.5 MB, free: 9.844 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.02292, allocations: 8.922 kB / 347.5 MB, free: 9.836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005749/0.0235, allocations: 323.1 kB / 347.8 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/0.02509, allocations: 1.603 MB / 349.4 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.276e-05/0.02516, allocations: 160.8 kB / 349.6 MB, free: 7.711 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.02537, allocations: 223.9 kB / 349.8 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003307/0.02867, allocations: 3.358 MB / 353.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.0287, allocations: 0 / 353.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.02884, allocations: 91.98 kB / 353.2 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.048e-05/0.02892, allocations: 112.4 kB / 353.3 MB, free: 3.801 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.03153, allocations: 2.727 MB / 356.1 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007097/0.03862, allocations: 7.611 MB / 363.7 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.04034, allocations: 1.928 MB / 365.6 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.04147, allocations: 1.227 MB / 366.8 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.04162, allocations: 53.22 kB / 366.9 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.04164, allocations: 47.88 kB / 366.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 3.307e-06/0.04165, allocations: 0 / 366.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=132): time 0.005851/0.0475, allocations: 5.294 MB / 372.2 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.04753, allocations: 68.72 kB / 372.3 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.04858, allocations: 1.274 MB / 373.6 MB, free: 15.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.04863, allocations: 45.7 kB / 373.6 MB, free: 15.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.04904, allocations: 0.9655 MB / 374.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.04926, allocations: 472 kB / 375 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.04946, allocations: 214.9 kB / 375.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.04956, allocations: 357.9 kB / 375.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006477/0.05021, allocations: 0.6896 MB / 376.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007305/0.05094, allocations: 0.8668 MB / 377.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.05232, allocations: 1.605 MB / 378.8 MB, free: 10.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.05232, allocations: 0 / 378.8 MB, free: 10.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00216/0.05448, allocations: 2.279 MB / 381 MB, free: 7.727 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.0545, allocations: 4 kB / 381 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.0545, allocations: 4 kB / 381.1 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.05583, allocations: 0.8228 MB / 381.9 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.05623, allocations: 199.7 kB / 382.1 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006987/0.06321, allocations: 10.88 MB / 392.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.06361, allocations: 55.89 kB / 393 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.06366, allocations: 40 kB / 393 MB, free: 11.32 MB / 362.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.0008184/0.06448, allocations: 0.8058 MB / 393.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.06463, allocations: 159 kB / 394 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.06682, allocations: 2.24 MB / 396.2 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.06683, allocations: 12 kB / 396.3 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.06683, allocations: 8 kB / 396.3 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.06684, allocations: 3.984 kB / 396.3 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004017/0.07086, allocations: 4.145 MB / 400.4 MB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.07086, allocations: 8.125 kB / 400.4 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.07118, allocations: 156.2 kB / 400.6 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001217/0.0724, allocations: 0.8111 MB / 401.4 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.201e-05/0.07245, allocations: 31.98 kB / 401.4 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006856/0.07931, allocations: 10.75 MB / 412.2 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.07931, allocations: 0 / 412.2 MB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003075/0.08238, allocations: 3.204 MB / 415.4 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.08279, allocations: 319.2 kB / 415.7 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.08288, allocations: 32 kB / 415.7 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.08323, allocations: 67.94 kB / 415.8 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.0834, allocations: 121 kB / 415.9 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.08344, allocations: 32 kB / 415.9 MB, free: 3.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007586/0.0842, allocations: 0.8952 MB / 416.8 MB, free: 2.957 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0842, allocations: 3.938 kB / 416.8 MB, free: 2.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001107/0.08531, allocations: 0.5117 MB / 417.3 MB, free: 2.441 MB / 378.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.0004009/0.08571, allocations: 219.1 kB / 417.6 MB, free: 2.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002208/0.08792, allocations: 2.342 MB / 419.9 MB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.08792, allocations: 3.938 kB / 419.9 MB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.08943, allocations: 1.578 MB / 421.5 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009226/0.09035, allocations: 403.4 kB / 421.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/0.09486, allocations: 4.57 MB / 426.4 MB, free: 9.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000934/0.0958, allocations: 1.406 MB / 427.8 MB, free: 7.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.09598, allocations: 96.48 kB / 427.9 MB, free: 7.648 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.09598, allocations: 0 / 427.9 MB, free: 7.648 MB / 394.7 MB Notification: Performance of Templates: time 0.1708/0.2667, allocations: 74.62 MB / 0.4908 GB, free: 77.11 MB / 410.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.74766244739294]