Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007937/0.0007937, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00338/0.00338, allocations: 160.7 kB / 24.7 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8455/0.8455, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.748e-05, allocations: 8.469 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005239/0.005257, allocations: 6.157 MB / 332 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.007778, allocations: 2.228 MB / 334.2 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003621/0.00814, allocations: 63.56 kB / 334.3 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006696/0.008809, allocations: 456.9 kB / 334.7 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008753/0.009685, allocations: 0.7219 MB / 335.5 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.009966, allocations: 283.5 kB / 335.7 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001744/0.01171, allocations: 2.955 MB / 338.7 MB, free: 2.508 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009961/0.01271, allocations: 1.328 MB / 340 MB, free: 1.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.01421, allocations: 1.958 MB / 342 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.01522, allocations: 1.395 MB / 343.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.01546, allocations: 352 kB / 343.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006451/0.0161, allocations: 439.8 kB / 344.1 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004407/0.01654, allocations: 0.927 MB / 345.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006223/0.01716, allocations: 1.064 MB / 346.1 MB, free: 11 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.01967, allocations: 4.706 MB / 350.8 MB, free: 6.277 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.01967, allocations: 0 / 350.8 MB, free: 6.277 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01967, allocations: 0 / 350.8 MB, free: 6.277 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.01969, allocations: 0 / 350.8 MB, free: 6.277 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.00299/0.02268, allocations: 2.951 MB / 353.8 MB, free: 3.277 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.02272, allocations: 8.031 kB / 353.8 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005345/0.02326, allocations: 355.1 kB / 354.1 MB, free: 2.922 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.02497, allocations: 1.611 MB / 355.8 MB, free: 1.262 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/0.02505, allocations: 164.7 kB / 355.9 MB, free: 1.098 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002005/0.02525, allocations: 219.9 kB / 356.1 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.02852, allocations: 3.358 MB / 359.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.02855, allocations: 0 / 359.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.02868, allocations: 88 kB / 359.6 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-05/0.02875, allocations: 112.4 kB / 359.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/0.03134, allocations: 2.73 MB / 362.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007098/0.03843, allocations: 7.6 MB / 370 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.04013, allocations: 1.943 MB / 372 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.04149, allocations: 1.234 MB / 373.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.04163, allocations: 41.28 kB / 373.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.04166, allocations: 47.88 kB / 373.3 MB, free: 15.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 2.164e-06/0.04167, allocations: 0 / 373.3 MB, free: 15.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.005709/0.04737, allocations: 5.29 MB / 378.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.04741, allocations: 68.7 kB / 378.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.04869, allocations: 1.278 MB / 379.9 MB, free: 8.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.32e-05/0.04875, allocations: 49.7 kB / 380 MB, free: 8.688 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.04915, allocations: 0.9772 MB / 380.9 MB, free: 7.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002039/0.04935, allocations: 460 kB / 381.4 MB, free: 7.246 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.04956, allocations: 226.9 kB / 381.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.04966, allocations: 353.9 kB / 382 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/0.0503, allocations: 0.6935 MB / 382.7 MB, free: 5.973 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007125/0.05101, allocations: 0.8629 MB / 383.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001346/0.05236, allocations: 1.604 MB / 385.1 MB, free: 3.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.05236, allocations: 0 / 385.1 MB, free: 3.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002411/0.05477, allocations: 2.283 MB / 387.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.05479, allocations: 11.98 kB / 387.4 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.0548, allocations: 4 kB / 387.4 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.05614, allocations: 0.8228 MB / 388.2 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.05654, allocations: 203.7 kB / 388.4 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007364/0.0639, allocations: 10.86 MB / 399.3 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.06431, allocations: 47.97 kB / 399.3 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.06436, allocations: 43.98 kB / 399.4 MB, free: 4.699 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.0009692/0.06533, allocations: 0.8176 MB / 400.2 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.06548, allocations: 151.1 kB / 400.4 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/0.06798, allocations: 2.24 MB / 402.6 MB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.06799, allocations: 16 kB / 402.6 MB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.06799, allocations: 7.984 kB / 402.6 MB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.068, allocations: 3.984 kB / 402.6 MB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004011/0.07201, allocations: 4.157 MB / 406.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.07202, allocations: 0 / 406.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.07233, allocations: 155.8 kB / 406.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.07352, allocations: 0.808 MB / 407.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.07358, allocations: 31.98 kB / 407.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007235/0.08081, allocations: 10.75 MB / 418.5 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.08081, allocations: 3.938 kB / 418.5 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.0836, allocations: 3.192 MB / 421.7 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.08399, allocations: 314.9 kB / 422 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-05/0.08408, allocations: 31.98 kB / 422.1 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.08442, allocations: 67.94 kB / 422.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.08458, allocations: 129.1 kB / 422.3 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.08463, allocations: 35.98 kB / 422.3 MB, free: 13.24 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001006/0.08563, allocations: 0.8954 MB / 423.2 MB, free: 12.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08563, allocations: 0 / 423.2 MB, free: 12.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00107/0.0867, allocations: 0.5117 MB / 423.7 MB, free: 11.83 MB / 394.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.0003655/0.08707, allocations: 225.1 kB / 423.9 MB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.08911, allocations: 2.342 MB / 426.3 MB, free: 9.215 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.08911, allocations: 4 kB / 426.3 MB, free: 9.211 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.09034, allocations: 1.586 MB / 427.8 MB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008818/0.09122, allocations: 400 kB / 428.2 MB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.09573, allocations: 4.563 MB / 432.8 MB, free: 2.562 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008926/0.09662, allocations: 1.418 MB / 434.2 MB, free: 1.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.0968, allocations: 92.5 kB / 434.3 MB, free: 1.012 MB / 394.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0968, allocations: 0 / 434.3 MB, free: 1.012 MB / 394.7 MB Notification: Performance of Templates: time 0.1632/0.26, allocations: 74.91 MB / 0.4973 GB, free: 62.81 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.338006252422929]