Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.00146/0.00146, allocations: 84.55 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.001629/0.001629, allocations: 168 kB / 23.95 MB, free: 4.16 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.459/1.459, allocations: 177.1 MB / 204.3 MB, free: 9.195 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.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/2.975e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005707/0.005736, allocations: 3.452 MB / 328.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003471/0.009207, allocations: 1.047 MB / 329.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000489/0.009696, allocations: 22.81 kB / 329.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.0101, allocations: 114.5 kB / 329.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.01131, allocations: 248.4 kB / 330 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.01187, allocations: 162.2 kB / 330.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00139/0.01326, allocations: 1.001 MB / 331.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000607/0.01386, allocations: 338.7 kB / 331.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.01494, allocations: 0.6038 MB / 332.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000898/0.01584, allocations: 450.5 kB / 332.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.01602, allocations: 101.2 kB / 332.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.0163, allocations: 106.8 kB / 332.7 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003503/0.01665, allocations: 294.8 kB / 333 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000457/0.0171, allocations: 330.2 kB / 333.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.01867, allocations: 1.33 MB / 334.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01868, allocations: 1.312 kB / 334.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01868, allocations: 0 / 334.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.0187, allocations: 0 / 334.6 MB, free: 10.46 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002666/0.02136, allocations: 1.31 MB / 336 MB, free: 9.492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.02141, allocations: 9.906 kB / 336 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004874/0.02189, allocations: 131.4 kB / 336.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.02299, allocations: 0.5952 MB / 336.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/0.02306, allocations: 51.83 kB / 336.7 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.02324, allocations: 63.69 kB / 336.8 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.02512, allocations: 0.9512 MB / 337.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.02516, allocations: 9.234 kB / 337.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.832e-05/0.02525, allocations: 25.34 kB / 337.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.749e-05/0.02531, allocations: 28.41 kB / 337.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.02675, allocations: 0.7921 MB / 338.6 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/0.03121, allocations: 2.423 MB / 341 MB, free: 5.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009119/0.03212, allocations: 0.4946 MB / 341.5 MB, free: 4.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007479/0.03287, allocations: 313.2 kB / 341.8 MB, free: 4.211 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.03291, allocations: 4.328 kB / 341.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000731/0.03364, allocations: 415.3 kB / 342.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.194e-06/0.03364, allocations: 0 / 342.2 MB, free: 3.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003024/0.03667, allocations: 1.115 MB / 343.4 MB, free: 2.648 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.03678, allocations: 114.8 kB / 343.5 MB, free: 2.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008669/0.03765, allocations: 0.5644 MB / 344 MB, free: 1.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.882e-05/0.03771, allocations: 41.69 kB / 344.1 MB, free: 1.891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003871/0.0381, allocations: 368.6 kB / 344.4 MB, free: 1.523 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.03824, allocations: 142.8 kB / 344.6 MB, free: 1.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.03842, allocations: 90.14 kB / 344.7 MB, free: 1.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.03862, allocations: 366.8 kB / 345 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.03904, allocations: 220.9 kB / 345.2 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005357/0.03958, allocations: 386.8 kB / 345.6 MB, free: 268 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/0.04051, allocations: 0.5744 MB / 346.2 MB, free: 15.63 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.04051, allocations: 0 / 346.2 MB, free: 15.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001546/0.04206, allocations: 0.7515 MB / 346.9 MB, free: 14.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.04208, allocations: 12.03 kB / 346.9 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.04209, allocations: 4 kB / 347 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/0.04269, allocations: 203.5 kB / 347.2 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.04303, allocations: 79.83 kB / 347.2 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.04666, allocations: 2.774 MB / 350 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.04708, allocations: 51.8 kB / 350.1 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.04712, allocations: 20 kB / 350.1 MB, free: 11.63 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006894/0.04781, allocations: 337.4 kB / 350.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.04792, allocations: 63.61 kB / 350.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.04806, allocations: 65.41 kB / 350.5 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.04807, allocations: 8 kB / 350.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.04807, allocations: 0 / 350.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.04808, allocations: 3.984 kB / 350.5 MB, free: 11.15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.05053, allocations: 1.428 MB / 352 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.05054, allocations: 0 / 352 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.0508, allocations: 47.97 kB / 352 MB, free: 9.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005242/0.05132, allocations: 198.3 kB / 352.2 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.05136, allocations: 15.92 kB / 352.2 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003565/0.05493, allocations: 2.766 MB / 355 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.05493, allocations: 3.938 kB / 355 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.05696, allocations: 1.096 MB / 356.1 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.05728, allocations: 119.5 kB / 356.2 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.05736, allocations: 11.98 kB / 356.2 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.05766, allocations: 23.98 kB / 356.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.05782, allocations: 43.91 kB / 356.3 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/0.05786, allocations: 19.98 kB / 356.3 MB, free: 5.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000612/0.05847, allocations: 414.8 kB / 356.7 MB, free: 4.812 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.05847, allocations: 3.938 kB / 356.7 MB, free: 4.809 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008528/0.05932, allocations: 211.5 kB / 356.9 MB, free: 4.602 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002106/0.05953, allocations: 123.9 kB / 357 MB, free: 4.473 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.06099, allocations: 0.7012 MB / 357.7 MB, free: 3.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.06099, allocations: 0 / 357.7 MB, free: 3.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008275/0.06182, allocations: 463 kB / 358.2 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/0.06259, allocations: 150.1 kB / 358.3 MB, free: 3.145 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.0655, allocations: 1.436 MB / 359.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008021/0.06631, allocations: 482.2 kB / 360.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.06659, allocations: 88.69 kB / 360.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.0667, allocations: 44.48 kB / 360.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of SimCode: time 9.82e-07/0.0667, allocations: 4 kB / 360.4 MB, free: 1.039 MB / 318.1 MB Notification: Performance of Templates: time 0.02076/0.08746, allocations: 9.662 MB / 370 MB, free: 7.59 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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: 4.527203354984522]