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.001344/0.001344, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001441/0.001441, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001668/0.001668, allocations: 47.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.284, allocations: 53.37 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008387/0.2924, allocations: 6.149 MB / 437.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004666/0.297, allocations: 2.22 MB / 440 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008792/0.2979, allocations: 63.56 kB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.299, allocations: 453 kB / 440.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.3008, allocations: 0.7031 MB / 441.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.3013, allocations: 279.7 kB / 441.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00321/0.3045, allocations: 2.836 MB / 444.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.3064, allocations: 1.332 MB / 445.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002725/0.3091, allocations: 1.356 MB / 447 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.3119, allocations: 1.545 MB / 448.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005776/0.3124, allocations: 352 kB / 448.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009684/0.3134, allocations: 435.8 kB / 449.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008769/0.3143, allocations: 0.896 MB / 450.2 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.3158, allocations: 1.241 MB / 451.4 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005042/0.3209, allocations: 4.668 MB / 456.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3209, allocations: 4 kB / 456.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3209, allocations: 0 / 456.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.523e-05/0.321, allocations: 4 kB / 456.1 MB, free: 14.08 MB / 366.1 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.005759/0.3267, allocations: 2.965 MB / 459.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3268, allocations: 15.97 kB / 459.1 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009917/0.3277, allocations: 347.1 kB / 459.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002875/0.3306, allocations: 1.615 MB / 461 MB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.3308, allocations: 168.3 kB / 461.2 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003396/0.3311, allocations: 212 kB / 461.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005359/0.3365, allocations: 3.354 MB / 464.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/0.3365, allocations: 7.938 kB / 464.8 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.3367, allocations: 92 kB / 464.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/0.3368, allocations: 112.4 kB / 465 MB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004518/0.3414, allocations: 2.723 MB / 467.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.3547, allocations: 7.613 MB / 475.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/0.3577, allocations: 1.931 MB / 477.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/0.3597, allocations: 1.234 MB / 478.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/0.36, allocations: 57.2 kB / 478.5 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.31e-05/0.36, allocations: 51.8 kB / 478.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.248e-06/0.36, allocations: 0 / 478.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01146/0.3715, allocations: 5.29 MB / 483.9 MB, free: 1.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.3715, allocations: 64.72 kB / 483.9 MB, free: 1.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.3738, allocations: 1.278 MB / 485.2 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.3739, allocations: 45.7 kB / 485.2 MB, free: 484 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008719/0.3747, allocations: 0.9851 MB / 486.2 MB, free: 15.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005323/0.3753, allocations: 460 kB / 486.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004306/0.3757, allocations: 222.9 kB / 486.9 MB, free: 14.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.3759, allocations: 361.9 kB / 487.2 MB, free: 14.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.3771, allocations: 0.6896 MB / 487.9 MB, free: 13.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.3783, allocations: 0.8706 MB / 488.8 MB, free: 12.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/0.3808, allocations: 1.593 MB / 490.4 MB, free: 11.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.3808, allocations: 8 kB / 490.4 MB, free: 11.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004131/0.385, allocations: 2.279 MB / 492.7 MB, free: 8.879 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.385, allocations: 8.031 kB / 492.7 MB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.385, allocations: 4 kB / 492.7 MB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002717/0.3877, allocations: 0.8189 MB / 493.5 MB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008276/0.3886, allocations: 203.7 kB / 493.7 MB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.402, allocations: 10.85 MB / 0.4927 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.4031, allocations: 56.02 kB / 0.4928 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.245e-05/0.4032, allocations: 44 kB / 0.4928 GB, free: 12.48 MB / 414.1 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.001427/0.4046, allocations: 0.8136 MB / 0.4936 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003671/0.405, allocations: 155 kB / 0.4938 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004203/0.4092, allocations: 2.24 MB / 0.496 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.4092, allocations: 19.94 kB / 0.496 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.4092, allocations: 7.938 kB / 0.496 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.4093, allocations: 4.453 kB / 0.496 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00856/0.4178, allocations: 4.153 MB / 0.5001 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.4178, allocations: 0 / 0.5001 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000676/0.4185, allocations: 163.8 kB / 0.5002 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002545/0.421, allocations: 0.8076 MB / 0.501 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.622e-05/0.4211, allocations: 32.05 kB / 0.501 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.4344, allocations: 10.76 MB / 0.5115 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.4344, allocations: 7.969 kB / 0.5115 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005369/0.4398, allocations: 3.192 MB / 0.5147 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.441, allocations: 326.9 kB / 0.515 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.4412, allocations: 28 kB / 0.515 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007544/0.442, allocations: 63.94 kB / 0.5151 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003447/0.4423, allocations: 125 kB / 0.5152 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.991e-05/0.4424, allocations: 40 kB / 0.5152 GB, free: 4.992 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001555/0.444, allocations: 0.8993 MB / 0.5161 GB, free: 4.086 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.444, allocations: 0 / 0.5161 GB, free: 4.086 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002068/0.446, allocations: 0.5078 MB / 0.5166 GB, free: 3.578 MB / 430.1 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.0006491/0.4467, allocations: 214.3 kB / 0.5168 GB, free: 3.367 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004226/0.4509, allocations: 2.35 MB / 0.5191 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.4509, allocations: 4.062 kB / 0.5191 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002504/0.4534, allocations: 1.581 MB / 0.5206 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/0.4555, allocations: 404.2 kB / 0.521 GB, free: 14.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00939/0.4649, allocations: 4.693 MB / 0.5256 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002325/0.4672, allocations: 1.474 MB / 0.5271 GB, free: 8.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00116/0.4684, allocations: 279.8 kB / 0.5273 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.4686, allocations: 87.42 kB / 0.5274 GB, free: 8.316 MB / 446.1 MB Notification: Performance of SimCode: time 2.044e-06/0.4686, allocations: 4 kB / 0.5274 GB, free: 8.312 MB / 446.1 MB Notification: Performance of Templates: time 0.3509/0.8196, allocations: 31.85 MB / 0.5585 GB, free: 86.92 MB / 446.1 MB " [Timeout remaining time 659] 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: 6.030004885047674]