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.001703/0.001703, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 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.00196/0.00196, allocations: 161.4 kB / 24.49 MB, free: 3.461 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.413/1.413, allocations: 173.4 MB / 201.1 MB, free: 12.69 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.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 0.001565/0.001565, allocations: 50.53 kB / 319.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08659, allocations: 52.16 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005108/0.0917, allocations: 3.408 MB / 375 MB, free: 3.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.09359, allocations: 0.9741 MB / 376 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.09379, allocations: 27.75 kB / 376 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.09405, allocations: 111.1 kB / 376.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006681/0.09472, allocations: 234.7 kB / 376.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.09501, allocations: 143.7 kB / 376.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.09605, allocations: 0.9534 MB / 377.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005021/0.09656, allocations: 327.5 kB / 377.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00045/0.09701, allocations: 426.5 kB / 378.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007021/0.09771, allocations: 0.4903 MB / 378.7 MB, free: 228 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.09785, allocations: 100 kB / 378.8 MB, free: 128 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.09801, allocations: 100 kB / 378.8 MB, free: 28 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.0983, allocations: 275.3 kB / 379.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004284/0.09873, allocations: 394.2 kB / 379.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.09998, allocations: 1.285 MB / 380.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.09999, allocations: 0 / 380.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.608e-06/0.09999, allocations: 4 kB / 380.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1, allocations: 4 kB / 380.8 MB, free: 14.07 MB / 350.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.002234/0.1022, allocations: 1.315 MB / 382.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1023, allocations: 12.91 kB / 382.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.1024, allocations: 96.38 kB / 382.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/0.1034, allocations: 0.5753 MB / 382.8 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/0.1034, allocations: 53.25 kB / 382.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.1036, allocations: 71.94 kB / 382.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.1051, allocations: 0.9362 MB / 383.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.1051, allocations: 0 / 383.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.864e-05/0.1052, allocations: 24 kB / 383.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.051e-05/0.1052, allocations: 37.3 kB / 383.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.1066, allocations: 0.7897 MB / 384.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00391/0.1105, allocations: 2.426 MB / 387.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008482/0.1113, allocations: 499.4 kB / 387.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000608/0.1119, allocations: 313.3 kB / 387.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.112, allocations: 4.328 kB / 387.9 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006586/0.1126, allocations: 411.5 kB / 388.3 MB, free: 6.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.794e-06/0.1126, allocations: 0 / 388.3 MB, free: 6.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002782/0.1154, allocations: 1.111 MB / 389.4 MB, free: 5.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.1155, allocations: 114.7 kB / 389.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/0.1162, allocations: 0.5565 MB / 390.1 MB, free: 4.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.1162, allocations: 33.73 kB / 390.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.1165, allocations: 364.5 kB / 390.5 MB, free: 4.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.1167, allocations: 146.8 kB / 390.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.1168, allocations: 90.14 kB / 390.7 MB, free: 3.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.117, allocations: 366.8 kB / 391.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.1174, allocations: 212.9 kB / 391.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.1179, allocations: 382.8 kB / 391.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009031/0.1188, allocations: 0.5729 MB / 392.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1188, allocations: 0 / 392.2 MB, free: 2.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001321/0.1201, allocations: 0.7435 MB / 393 MB, free: 1.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1202, allocations: 4 kB / 393 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.1202, allocations: 4 kB / 393 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005155/0.1207, allocations: 201 kB / 393.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.121, allocations: 75.89 kB / 393.3 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003355/0.1243, allocations: 2.792 MB / 396.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.1247, allocations: 51.8 kB / 396.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.1247, allocations: 23.94 kB / 396.1 MB, free: 14.21 MB / 366.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.0003984/0.1251, allocations: 329.5 kB / 396.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.575e-05/0.1252, allocations: 59.62 kB / 396.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.1253, allocations: 65.2 kB / 396.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.1253, allocations: 7.984 kB / 396.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.1253, allocations: 4 kB / 396.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.1253, allocations: 8 kB / 396.6 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.1277, allocations: 1.424 MB / 398 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1277, allocations: 0 / 398 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.1279, allocations: 47.91 kB / 398.1 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/0.1284, allocations: 196.7 kB / 398.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.1284, allocations: 11.98 kB / 398.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003369/0.1318, allocations: 2.763 MB / 401 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1318, allocations: 3.938 kB / 401 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.1335, allocations: 1.096 MB / 402.1 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.1338, allocations: 123.5 kB / 402.2 MB, free: 7.906 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.1338, allocations: 11.98 kB / 402.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.1341, allocations: 31.97 kB / 402.3 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.1343, allocations: 43.86 kB / 402.3 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.1343, allocations: 19.98 kB / 402.4 MB, free: 7.801 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004876/0.1348, allocations: 398.8 kB / 402.7 MB, free: 7.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1348, allocations: 0 / 402.7 MB, free: 7.414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006791/0.1355, allocations: 211.5 kB / 402.9 MB, free: 7.207 MB / 366.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.000153/0.1356, allocations: 119.2 kB / 403.1 MB, free: 7.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.1369, allocations: 0.7012 MB / 403.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1369, allocations: 1 kB / 403.8 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007043/0.1376, allocations: 462.1 kB / 404.2 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.1383, allocations: 149.9 kB / 404.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.1406, allocations: 1.459 MB / 405.8 MB, free: 4.273 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.1411, allocations: 486 kB / 406.3 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.1413, allocations: 96.58 kB / 406.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1414, allocations: 40.48 kB / 406.4 MB, free: 3.633 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1414, allocations: 0 / 406.4 MB, free: 3.633 MB / 366.1 MB Notification: Performance of Templates: time 0.01661/0.158, allocations: 9.58 MB / 416 MB, free: 10.25 MB / 382.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/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: 4.530594908981584]