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.001371/0.001371, allocations: 79.39 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001394/0.001394, allocations: 147.6 kB / 23.94 MB, free: 4.164 MB / 14.72 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 1.456/1.456, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] 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.542e-06/1.542e-06, allocations: 0 / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.477e-05, allocations: 2.281 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006644/0.006669, allocations: 6.128 MB / 325.1 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004956/0.01163, allocations: 2.173 MB / 327.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.01308, allocations: 59.38 kB / 327.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.01484, allocations: 455.4 kB / 327.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.01744, allocations: 0.7171 MB / 328.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008939/0.01833, allocations: 275.6 kB / 328.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004143/0.02248, allocations: 2.935 MB / 331.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002669/0.02515, allocations: 1.337 MB / 333 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00465/0.02979, allocations: 1.962 MB / 335 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002788/0.03258, allocations: 1.395 MB / 336.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007719/0.03335, allocations: 349.7 kB / 336.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.03465, allocations: 427.6 kB / 337.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009504/0.0356, allocations: 0.9231 MB / 338 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00173/0.03733, allocations: 1.065 MB / 339.1 MB, free: 7.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005282/0.04261, allocations: 4.698 MB / 343.8 MB, free: 2.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.04261, allocations: 0 / 343.8 MB, free: 2.699 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.04262, allocations: 0 / 343.8 MB, free: 2.699 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.933e-05/0.04267, allocations: 0 / 343.8 MB, free: 2.699 MB / 302.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.005851/0.04853, allocations: 2.94 MB / 346.7 MB, free: 15.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.04857, allocations: 12.92 kB / 346.8 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008418/0.04941, allocations: 323.1 kB / 347.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.05225, allocations: 1.595 MB / 348.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.0524, allocations: 164.8 kB / 348.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003982/0.0528, allocations: 215.9 kB / 349 MB, free: 13.37 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005682/0.05848, allocations: 3.358 MB / 352.4 MB, free: 9.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/0.05852, allocations: 0 / 352.4 MB, free: 9.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.05876, allocations: 95.97 kB / 352.5 MB, free: 9.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.05889, allocations: 112.4 kB / 352.6 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004757/0.06365, allocations: 2.723 MB / 355.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01327/0.07692, allocations: 7.607 MB / 362.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002956/0.07987, allocations: 1.932 MB / 364.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.08196, allocations: 1.23 MB / 366.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.08216, allocations: 49.28 kB / 366.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.08221, allocations: 43.88 kB / 366.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 3.537e-06/0.08221, allocations: 4 kB / 366.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=132): time 0.01101/0.09323, allocations: 5.29 MB / 371.5 MB, free: 6.594 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.09328, allocations: 72.66 kB / 371.5 MB, free: 6.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.09513, allocations: 1.27 MB / 372.8 MB, free: 5.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.09523, allocations: 45.7 kB / 372.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000838/0.09607, allocations: 0.9694 MB / 373.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/0.09646, allocations: 468 kB / 374.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003722/0.09683, allocations: 218.9 kB / 374.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.09703, allocations: 353.9 kB / 374.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.09816, allocations: 0.6935 MB / 375.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.09951, allocations: 0.8629 MB / 376.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/0.1019, allocations: 1.601 MB / 378 MB, free: 15.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.1019, allocations: 3.938 kB / 378 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003882/0.1058, allocations: 2.279 MB / 380.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1058, allocations: 8 kB / 380.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1058, allocations: 4 kB / 380.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002857/0.1087, allocations: 0.8189 MB / 381.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000849/0.1095, allocations: 211.7 kB / 381.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/0.1228, allocations: 10.87 MB / 392.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009308/0.1238, allocations: 55.89 kB / 392.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.1239, allocations: 44 kB / 392.3 MB, free: 1.188 MB / 350.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.001363/0.1253, allocations: 0.8095 MB / 393.1 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/0.1255, allocations: 155 kB / 393.2 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/0.1297, allocations: 2.24 MB / 395.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.1297, allocations: 16 kB / 395.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1298, allocations: 4 kB / 395.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.1298, allocations: 3.984 kB / 395.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007237/0.137, allocations: 4.153 MB / 399.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.137, allocations: 4 kB / 399.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007037/0.1377, allocations: 159.7 kB / 399.8 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002714/0.1404, allocations: 0.8036 MB / 400.6 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.322e-05/0.1405, allocations: 31.98 kB / 400.7 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.154, allocations: 10.76 MB / 411.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.154, allocations: 4.094 kB / 411.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005309/0.1593, allocations: 3.2 MB / 414.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007355/0.1601, allocations: 323.3 kB / 414.9 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.1603, allocations: 31.94 kB / 415 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007684/0.161, allocations: 67.94 kB / 415 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002927/0.1613, allocations: 121 kB / 415.2 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.494e-05/0.1614, allocations: 32 kB / 415.2 MB, free: 9.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001368/0.1628, allocations: 0.8991 MB / 416.1 MB, free: 8.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1628, allocations: 0 / 416.1 MB, free: 8.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001643/0.1644, allocations: 0.5116 MB / 416.6 MB, free: 8.309 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.0005053/0.1649, allocations: 202.6 kB / 416.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003874/0.1688, allocations: 2.345 MB / 419.1 MB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1688, allocations: 0 / 419.1 MB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002427/0.1712, allocations: 1.594 MB / 420.7 MB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.1729, allocations: 395.8 kB / 421.1 MB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007605/0.1805, allocations: 4.571 MB / 425.7 MB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/0.1822, allocations: 1.466 MB / 427.2 MB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007132/0.183, allocations: 283.8 kB / 427.4 MB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/0.1832, allocations: 88.5 kB / 427.5 MB, free: 13.19 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1832, allocations: 0 / 427.5 MB, free: 13.19 MB / 398.1 MB Notification: Performance of Templates: time 0.04927/0.2325, allocations: 28.95 MB / 456.5 MB, free: 0.5938 MB / 414.1 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: 5.399233717471361]