Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.0008324/0.0008324, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003377/0.003377, allocations: 144.4 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8238/0.8238, allocations: 173.4 MB / 201.2 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 3.938 kB / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.766e-05, allocations: 9.453 kB / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004681/0.004709, allocations: 3.398 MB / 323.1 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.006649, allocations: 0.9701 MB / 324.1 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.0069, allocations: 23.88 kB / 324.1 MB, free: 1.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.007173, allocations: 115 kB / 324.2 MB, free: 1.297 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007902/0.007964, allocations: 246.3 kB / 324.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.008266, allocations: 143.6 kB / 324.6 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.00938, allocations: 0.9843 MB / 325.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005068/0.009887, allocations: 331.3 kB / 325.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006806/0.01057, allocations: 0.5963 MB / 326.5 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006723/0.01124, allocations: 446.9 kB / 326.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.01138, allocations: 107.9 kB / 327.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.01152, allocations: 100 kB / 327.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.01175, allocations: 287.1 kB / 327.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.0121, allocations: 331.2 kB / 327.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.01339, allocations: 1.305 MB / 329.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.0134, allocations: 4 kB / 329.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0134, allocations: 0 / 329.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.01342, allocations: 0 / 329.1 MB, free: 12.43 MB / 298.7 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.002099/0.01552, allocations: 1.299 MB / 330.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.01557, allocations: 12.92 kB / 330.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.01575, allocations: 92.38 kB / 330.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009395/0.01669, allocations: 0.5746 MB / 331 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/0.01673, allocations: 53.61 kB / 331.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.01684, allocations: 64.38 kB / 331.2 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.01831, allocations: 0.9518 MB / 332.1 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.01833, allocations: 0 / 332.1 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.121e-05/0.0184, allocations: 28 kB / 332.1 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.01845, allocations: 33.31 kB / 332.2 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.01974, allocations: 0.7935 MB / 333 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0027/0.02244, allocations: 2.407 MB / 335.4 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.02295, allocations: 0.4946 MB / 335.9 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004869/0.02344, allocations: 317.3 kB / 336.2 MB, free: 5.125 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.02346, allocations: 4.328 kB / 336.2 MB, free: 5.121 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003902/0.02385, allocations: 411.5 kB / 336.6 MB, free: 4.691 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.02385, allocations: 0 / 336.6 MB, free: 4.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001516/0.02537, allocations: 1.114 MB / 337.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.02542, allocations: 110.8 kB / 337.8 MB, free: 3.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.02582, allocations: 0.5526 MB / 338.4 MB, free: 2.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.02585, allocations: 37.7 kB / 338.4 MB, free: 2.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.02601, allocations: 360.6 kB / 338.7 MB, free: 2.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.09e-05/0.02608, allocations: 142.8 kB / 338.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-05/0.02618, allocations: 94.12 kB / 339 MB, free: 2.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.02628, allocations: 366.8 kB / 339.3 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.0265, allocations: 212.9 kB / 339.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.02677, allocations: 382.8 kB / 339.9 MB, free: 1.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.02725, allocations: 0.5614 MB / 340.5 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.02726, allocations: 7.938 kB / 340.5 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007302/0.02799, allocations: 0.7547 MB / 341.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.028, allocations: 8 kB / 341.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.02801, allocations: 4 kB / 341.2 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/0.02833, allocations: 209.2 kB / 341.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.0285, allocations: 79.83 kB / 341.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.03057, allocations: 2.774 MB / 344.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.03074, allocations: 51.8 kB / 344.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.03076, allocations: 16 kB / 344.4 MB, free: 12.59 MB / 314.7 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.000252/0.03101, allocations: 337.3 kB / 344.7 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.03106, allocations: 59.62 kB / 344.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.03113, allocations: 73.19 kB / 344.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.03113, allocations: 8 kB / 344.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.03114, allocations: 0 / 344.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.03114, allocations: 0 / 344.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.0324, allocations: 1.416 MB / 346.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.03241, allocations: 4 kB / 346.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.03253, allocations: 43.91 kB / 346.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002404/0.03277, allocations: 200.8 kB / 346.5 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.03279, allocations: 19.92 kB / 346.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.03456, allocations: 2.763 MB / 349.3 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.03456, allocations: 11.86 kB / 349.3 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009504/0.03551, allocations: 1.093 MB / 350.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/0.0358, allocations: 123.5 kB / 350.5 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.03584, allocations: 12 kB / 350.5 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.03597, allocations: 27.97 kB / 350.5 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.563e-05/0.03606, allocations: 47.86 kB / 350.6 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.03608, allocations: 11.98 kB / 350.6 MB, free: 6.168 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000283/0.03636, allocations: 402.8 kB / 351 MB, free: 5.777 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03636, allocations: 0 / 351 MB, free: 5.777 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004006/0.03676, allocations: 215.5 kB / 351.2 MB, free: 5.566 MB / 314.7 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.0001222/0.03688, allocations: 115.2 kB / 351.3 MB, free: 5.445 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007815/0.03767, allocations: 0.7017 MB / 352 MB, free: 4.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.03767, allocations: 256 / 352 MB, free: 4.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.03805, allocations: 465.9 kB / 352.5 MB, free: 4.262 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.03846, allocations: 146.2 kB / 352.6 MB, free: 4.121 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.03991, allocations: 1.44 MB / 354.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.04021, allocations: 474.1 kB / 354.5 MB, free: 2.156 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.298e-05/0.04029, allocations: 40.5 kB / 354.6 MB, free: 2.117 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04029, allocations: 0 / 354.6 MB, free: 2.117 MB / 314.7 MB Notification: Performance of Templates: time 0.009863/0.05016, allocations: 13.03 MB / 367.6 MB, free: 5.133 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.117025746032596]