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.001669/0.001669, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001857/0.001857, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.64/1.64, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001645/0.001645, allocations: 43.94 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4713, allocations: 53.36 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008637/0.4799, allocations: 6.151 MB / 438.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005265/0.4852, allocations: 2.224 MB / 440.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.4866, allocations: 59.56 kB / 440.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.4881, allocations: 453 kB / 441.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.4903, allocations: 0.6915 MB / 441.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006854/0.4909, allocations: 283.6 kB / 442.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003561/0.4945, allocations: 2.852 MB / 445 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.4964, allocations: 1.36 MB / 446.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002885/0.4993, allocations: 1.358 MB / 447.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002855/0.5022, allocations: 1.576 MB / 449.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006553/0.5028, allocations: 348 kB / 449.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.5039, allocations: 439.8 kB / 450.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009388/0.5048, allocations: 0.8999 MB / 451 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002112/0.507, allocations: 1.245 MB / 452.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005609/0.5126, allocations: 4.663 MB / 456.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5126, allocations: 7.938 kB / 456.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5126, allocations: 0 / 456.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001536/0.5127, allocations: 0 / 456.9 MB, free: 14.05 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.006816/0.5195, allocations: 2.959 MB / 459.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5196, allocations: 19.97 kB / 459.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.5207, allocations: 347.1 kB / 460.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003463/0.5241, allocations: 1.623 MB / 461.8 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.5243, allocations: 160.4 kB / 462 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004081/0.5247, allocations: 216 kB / 462.2 MB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005974/0.5306, allocations: 3.354 MB / 465.6 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.801e-05/0.5307, allocations: 3.938 kB / 465.6 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002375/0.5309, allocations: 99.97 kB / 465.7 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.5311, allocations: 108.4 kB / 465.8 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004724/0.5358, allocations: 2.73 MB / 468.5 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.5498, allocations: 7.609 MB / 476.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/0.5527, allocations: 1.927 MB / 478 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/0.5546, allocations: 1.242 MB / 479.3 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.5548, allocations: 49.28 kB / 479.3 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.655e-05/0.5549, allocations: 51.81 kB / 479.4 MB, free: 7.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.437e-06/0.5549, allocations: 0 / 479.4 MB, free: 7.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01122/0.5661, allocations: 5.287 MB / 484.7 MB, free: 1.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.5662, allocations: 64.72 kB / 484.7 MB, free: 1.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.5682, allocations: 1.278 MB / 486 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001269/0.5683, allocations: 49.7 kB / 486.1 MB, free: 452 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007833/0.5691, allocations: 0.9813 MB / 487 MB, free: 15.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/0.5695, allocations: 464 kB / 487.5 MB, free: 14.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/0.5699, allocations: 218.9 kB / 487.7 MB, free: 14.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5701, allocations: 353.9 kB / 488.1 MB, free: 14.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.5712, allocations: 0.6896 MB / 488.7 MB, free: 13.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.5724, allocations: 0.8668 MB / 489.6 MB, free: 12.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.5747, allocations: 1.605 MB / 491.2 MB, free: 11.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5747, allocations: 0 / 491.2 MB, free: 11.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004/0.5787, allocations: 2.283 MB / 493.5 MB, free: 8.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.5787, allocations: 8 kB / 493.5 MB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.5787, allocations: 0 / 493.5 MB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002904/0.5816, allocations: 0.8189 MB / 494.3 MB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008313/0.5824, allocations: 203.7 kB / 494.5 MB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.5953, allocations: 10.89 MB / 0.4936 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.5964, allocations: 47.97 kB / 0.4936 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.5965, allocations: 40 kB / 0.4937 GB, free: 12.43 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.001549/0.5981, allocations: 0.8236 MB / 0.4945 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000349/0.5984, allocations: 151.1 kB / 0.4946 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004291/0.6027, allocations: 2.236 MB / 0.4968 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.6027, allocations: 19.88 kB / 0.4968 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.505e-06/0.6028, allocations: 4 kB / 0.4968 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.6028, allocations: 11.97 kB / 0.4968 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00823/0.611, allocations: 4.153 MB / 0.5009 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.611, allocations: 0 / 0.5009 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/0.6117, allocations: 159.7 kB / 0.501 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/0.6146, allocations: 0.8039 MB / 0.5018 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.6147, allocations: 32 kB / 0.5018 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01457/0.6293, allocations: 10.76 MB / 0.5123 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.6293, allocations: 3.938 kB / 0.5123 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006056/0.6353, allocations: 3.196 MB / 0.5155 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/0.6371, allocations: 322.9 kB / 0.5158 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003686/0.6374, allocations: 31.98 kB / 0.5158 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000867/0.6383, allocations: 63.95 kB / 0.5159 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004029/0.6387, allocations: 129 kB / 0.516 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.785e-05/0.6388, allocations: 35.98 kB / 0.516 GB, free: 4.957 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001471/0.6403, allocations: 0.8993 MB / 0.5169 GB, free: 4.051 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6403, allocations: 0 / 0.5169 GB, free: 4.051 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002138/0.6424, allocations: 0.5078 MB / 0.5174 GB, free: 3.543 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.000685/0.6431, allocations: 209.1 kB / 0.5176 GB, free: 3.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00418/0.6473, allocations: 2.353 MB / 0.5199 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.6473, allocations: 0 / 0.5199 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002678/0.65, allocations: 1.59 MB / 0.5215 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.6521, allocations: 406.5 kB / 0.5218 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008938/0.661, allocations: 4.696 MB / 0.5264 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/0.6629, allocations: 1.47 MB / 0.5279 GB, free: 8.645 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009573/0.6638, allocations: 279.8 kB / 0.5281 GB, free: 8.367 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.6641, allocations: 91.42 kB / 0.5282 GB, free: 8.277 MB / 446.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6641, allocations: 4 kB / 0.5282 GB, free: 8.273 MB / 446.1 MB Notification: Performance of Templates: time 0.4013/1.065, allocations: 32.32 MB / 0.5598 GB, free: 86.53 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/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.797978514994611]