Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001706/0.001706, allocations: 107.6 kB / 21.18 MB, free: 460 kB / 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.001804/0.001804, allocations: 219.2 kB / 24.48 MB, free: 3.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 207.7 MB / 235.3 MB, free: 9.828 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 52.2 kB / 347.7 MB, free: 9.465 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3133, allocations: 49.15 MB / 396.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004874/0.3182, allocations: 3.356 MB / 400.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.3208, allocations: 1.02 MB / 401.2 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.3211, allocations: 17.53 kB / 401.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.3214, allocations: 110.4 kB / 401.4 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009648/0.3224, allocations: 241.1 kB / 401.6 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.3228, allocations: 144.5 kB / 401.7 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.3238, allocations: 0.9584 MB / 402.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005223/0.3243, allocations: 305.3 kB / 403 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.3248, allocations: 422.7 kB / 403.4 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006835/0.3255, allocations: 497.6 kB / 403.9 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.3256, allocations: 100 kB / 404 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.3258, allocations: 98.91 kB / 404.1 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002901/0.3261, allocations: 284.2 kB / 404.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004359/0.3265, allocations: 375 kB / 404.7 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.3285, allocations: 1.287 MB / 406 MB, free: 4.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3285, allocations: 2.609 kB / 406 MB, free: 4.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3285, allocations: 0 / 406 MB, free: 4.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.084e-05/0.3286, allocations: 0 / 406 MB, free: 4.254 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.0027/0.3313, allocations: 1.291 MB / 407.3 MB, free: 3.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3313, allocations: 17.58 kB / 407.3 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.3315, allocations: 96.98 kB / 407.4 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.3325, allocations: 0.5442 MB / 408 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.3326, allocations: 52.16 kB / 408 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.3327, allocations: 70.56 kB / 408.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.3343, allocations: 0.9299 MB / 409 MB, free: 2.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.3343, allocations: 5.562 kB / 409 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.009e-05/0.3344, allocations: 33.27 kB / 409.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.832e-05/0.3345, allocations: 39.45 kB / 409.1 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.3358, allocations: 0.7833 MB / 409.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/0.3395, allocations: 2.399 MB / 412.3 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007266/0.3403, allocations: 492.9 kB / 412.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006174/0.3409, allocations: 307.5 kB / 413.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.3409, allocations: 6.016 kB / 413.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007054/0.3416, allocations: 406.2 kB / 413.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.505e-06/0.3416, allocations: 4 kB / 413.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.002977/0.3446, allocations: 1.133 MB / 414.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.3447, allocations: 116.6 kB / 414.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009313/0.3456, allocations: 0.5455 MB / 415.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.3457, allocations: 41.2 kB / 415.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.3461, allocations: 358.4 kB / 415.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.3462, allocations: 140.3 kB / 415.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.3464, allocations: 91.48 kB / 415.9 MB, free: 13.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.3466, allocations: 369.5 kB / 416.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/0.347, allocations: 213.6 kB / 416.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005364/0.3475, allocations: 382.8 kB / 416.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008994/0.3484, allocations: 0.5688 MB / 417.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3484, allocations: 2.062 kB / 417.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001352/0.3498, allocations: 0.7412 MB / 418.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.3498, allocations: 10.69 kB / 418.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.3498, allocations: 4 kB / 418.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005944/0.3504, allocations: 200.8 kB / 418.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.3508, allocations: 76.58 kB / 418.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/0.3544, allocations: 2.78 MB / 421.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/0.3549, allocations: 52.17 kB / 421.3 MB, free: 9.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/0.3549, allocations: 22.83 kB / 421.3 MB, free: 9.945 MB / 334.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0006133/0.3555, allocations: 321 kB / 421.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.3558, allocations: 61.89 kB / 421.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.356, allocations: 71.44 kB / 421.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.356, allocations: 8.75 kB / 421.7 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.356, allocations: 5.25 kB / 421.7 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.356, allocations: 3.984 kB / 421.7 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.359, allocations: 1.423 MB / 423.2 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.359, allocations: 0 / 423.2 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.3592, allocations: 51.91 kB / 423.2 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004807/0.3597, allocations: 196.9 kB / 423.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.3597, allocations: 8 kB / 423.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003628/0.3634, allocations: 2.755 MB / 426.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.3634, allocations: 4 kB / 426.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.3653, allocations: 1.094 MB / 427.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.3657, allocations: 119.6 kB / 427.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.3658, allocations: 4 kB / 427.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.3662, allocations: 31.97 kB / 427.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.3664, allocations: 47.91 kB / 427.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.3664, allocations: 12 kB / 427.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006887/0.3671, allocations: 410.7 kB / 427.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3671, allocations: 0 / 427.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00102/0.3681, allocations: 211.4 kB / 428.1 MB, free: 3.266 MB / 334.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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.0002136/0.3684, allocations: 120.3 kB / 428.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.37, allocations: 0.7129 MB / 428.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.37, allocations: 1 kB / 428.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008458/0.3709, allocations: 473.8 kB / 429.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000875/0.3717, allocations: 141.6 kB / 429.5 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.3753, allocations: 1.515 MB / 431 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006896/0.376, allocations: 473.9 kB / 431.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003034/0.3763, allocations: 92.62 kB / 431.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.3764, allocations: 39.44 kB / 431.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3764, allocations: 0 / 431.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Templates: time 0.02106/0.3974, allocations: 10.4 MB / 442 MB, free: 5.219 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.142509622499347]