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.001239/0.001239, allocations: 84.16 kB / 20.68 MB, free: 1.023 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.001463/0.001463, allocations: 164.4 kB / 23.95 MB, free: 4.156 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.425/1.425, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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 1.664e-06/1.664e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.86e-05, allocations: 6.641 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008339/0.008368, allocations: 6.156 MB / 331.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005238/0.01361, allocations: 2.233 MB / 333.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006391/0.01424, allocations: 63.25 kB / 333.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.0153, allocations: 456.3 kB / 334 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.01694, allocations: 0.7154 MB / 334.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.01749, allocations: 280.1 kB / 335 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003086/0.02058, allocations: 2.952 MB / 337.9 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.0225, allocations: 1.336 MB / 339.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003723/0.02622, allocations: 1.962 MB / 341.2 MB, free: 4.926 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.02834, allocations: 1.391 MB / 342.6 MB, free: 3.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004894/0.02883, allocations: 348 kB / 342.9 MB, free: 3.188 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008827/0.02972, allocations: 443.8 kB / 343.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009304/0.03065, allocations: 0.9232 MB / 344.3 MB, free: 1.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.0322, allocations: 1.064 MB / 345.4 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005456/0.03765, allocations: 4.71 MB / 350.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.03766, allocations: 4 kB / 350.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.03766, allocations: 0 / 350.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.962e-05/0.03775, allocations: 0 / 350.1 MB, free: 12.04 MB / 318.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.006446/0.04419, allocations: 2.94 MB / 353 MB, free: 9.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.04424, allocations: 8.031 kB / 353 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.04537, allocations: 355.1 kB / 353.4 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.0484, allocations: 1.611 MB / 355 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.04854, allocations: 168.7 kB / 355.1 MB, free: 6.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003618/0.0489, allocations: 219.9 kB / 355.4 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005658/0.05456, allocations: 3.354 MB / 358.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/0.0546, allocations: 4 kB / 358.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002241/0.05483, allocations: 91.98 kB / 358.8 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.05495, allocations: 112.4 kB / 358.9 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004657/0.05961, allocations: 2.723 MB / 361.6 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.07357, allocations: 7.615 MB / 369.3 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.0768, allocations: 1.932 MB / 371.2 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/0.07891, allocations: 1.234 MB / 372.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.07914, allocations: 45.28 kB / 372.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/0.0792, allocations: 51.81 kB / 372.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 4.328e-06/0.0792, allocations: 4 kB / 372.5 MB, free: 5.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=132): time 0.0119/0.0911, allocations: 5.283 MB / 377.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.09115, allocations: 64.72 kB / 377.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.09315, allocations: 1.278 MB / 379.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.09327, allocations: 53.7 kB / 379.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007516/0.09402, allocations: 0.9734 MB / 380.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004099/0.09443, allocations: 463.9 kB / 380.6 MB, free: 13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/0.09482, allocations: 222.9 kB / 380.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.095, allocations: 361.9 kB / 381.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.09613, allocations: 0.6896 MB / 381.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/0.09743, allocations: 0.8629 MB / 382.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002465/0.09989, allocations: 1.601 MB / 384.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.0999, allocations: 4 kB / 384.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004264/0.1042, allocations: 2.279 MB / 386.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.1042, allocations: 4 kB / 386.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.1042, allocations: 8.031 kB / 386.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002928/0.1071, allocations: 0.8227 MB / 387.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/0.108, allocations: 191.8 kB / 387.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/0.1218, allocations: 10.88 MB / 398.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.1228, allocations: 52.16 kB / 398.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.269e-05/0.1229, allocations: 48.09 kB / 398.6 MB, free: 10.45 MB / 366.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.001465/0.1244, allocations: 0.8214 MB / 399.5 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/0.1247, allocations: 155 kB / 399.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/0.1288, allocations: 2.232 MB / 401.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.1288, allocations: 12 kB / 401.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.1288, allocations: 8 kB / 401.9 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/0.1289, allocations: 7.969 kB / 401.9 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007835/0.1367, allocations: 4.145 MB / 406 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.1367, allocations: 4 kB / 406 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007063/0.1374, allocations: 159.9 kB / 406.2 MB, free: 2.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/0.1401, allocations: 0.8079 MB / 407 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.1402, allocations: 28 kB / 407 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/0.1536, allocations: 10.76 MB / 417.8 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.1536, allocations: 4.031 kB / 417.8 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005589/0.1592, allocations: 3.196 MB / 421 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.1602, allocations: 319 kB / 421.3 MB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.1605, allocations: 32.11 kB / 421.3 MB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007949/0.1613, allocations: 63.95 kB / 421.4 MB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003415/0.1616, allocations: 129 kB / 421.5 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-05/0.1617, allocations: 39.98 kB / 421.5 MB, free: 2.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001436/0.1631, allocations: 0.8993 MB / 422.4 MB, free: 2.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1631, allocations: 0 / 422.4 MB, free: 2.082 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001908/0.165, allocations: 0.5117 MB / 422.9 MB, free: 1.57 MB / 382.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.0005835/0.1656, allocations: 211.4 kB / 423.2 MB, free: 1.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004155/0.1698, allocations: 2.342 MB / 425.5 MB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.1698, allocations: 4.312 kB / 425.5 MB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002645/0.1724, allocations: 1.585 MB / 427.1 MB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.1746, allocations: 398.2 kB / 427.5 MB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008491/0.1831, allocations: 4.575 MB / 432 MB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001835/0.185, allocations: 1.47 MB / 433.5 MB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008808/0.1858, allocations: 279.8 kB / 433.8 MB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.1861, allocations: 96.42 kB / 433.9 MB, free: 6.43 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.1861, allocations: 0 / 433.9 MB, free: 6.43 MB / 398.1 MB Notification: Performance of Templates: time 0.05193/0.2381, allocations: 28.99 MB / 462.9 MB, free: 9.801 MB / 430.1 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: 5.66198668256402]