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.001725/0.001725, allocations: 117 kB / 18.41 MB, free: 4.664 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.001929/0.001929, allocations: 186.9 kB / 21.34 MB, free: 1.738 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.487/1.487, allocations: 222.9 MB / 247 MB, free: 4.188 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.001573/0.001573, allocations: 55.91 kB / 358.7 MB, free: 8.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09811/0.0997, allocations: 49.43 MB / 408.1 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005546/0.1053, allocations: 3.673 MB / 411.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.1074, allocations: 1.001 MB / 412.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/0.1077, allocations: 15.94 kB / 412.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.1079, allocations: 107.1 kB / 412.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007041/0.1087, allocations: 230.7 kB / 413.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.109, allocations: 139.7 kB / 413.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.1101, allocations: 0.9495 MB / 414.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007706/0.1109, allocations: 0.5926 MB / 414.8 MB, free: 48 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005156/0.1114, allocations: 410.6 kB / 415.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007255/0.1121, allocations: 498.1 kB / 415.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.1123, allocations: 104 kB / 415.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.1125, allocations: 100 kB / 415.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.1128, allocations: 275.2 kB / 416.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005226/0.1133, allocations: 481.8 kB / 416.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001353/0.1147, allocations: 1.281 MB / 417.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1147, allocations: 0 / 417.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1147, allocations: 3.938 kB / 417.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.1147, allocations: 0 / 417.9 MB, free: 12.93 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.00224/0.117, allocations: 1.196 MB / 419.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.117, allocations: 8.031 kB / 419.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.1172, allocations: 100.4 kB / 419.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000962/0.1182, allocations: 0.6395 MB / 419.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/0.1182, allocations: 49.25 kB / 419.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.1184, allocations: 64 kB / 420 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.12, allocations: 0.9228 MB / 420.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.12, allocations: 0 / 420.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.1201, allocations: 27.98 kB / 420.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.1201, allocations: 33.31 kB / 421 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.1216, allocations: 0.7974 MB / 421.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004457/0.126, allocations: 2.78 MB / 424.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.1271, allocations: 0.7424 MB / 425.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/0.1277, allocations: 341.2 kB / 425.6 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.1278, allocations: 4.328 kB / 425.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006823/0.1285, allocations: 389.8 kB / 426 MB, free: 4.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.1285, allocations: 0 / 426 MB, free: 4.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003063/0.1316, allocations: 1.224 MB / 427.2 MB, free: 3.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.1317, allocations: 114.8 kB / 427.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007951/0.1325, allocations: 0.5683 MB / 427.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.1325, allocations: 37.7 kB / 427.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003302/0.1329, allocations: 360.6 kB / 428.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.133, allocations: 142.8 kB / 428.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.1332, allocations: 86.25 kB / 428.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.1334, allocations: 370.8 kB / 428.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.1338, allocations: 213 kB / 429.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/0.1343, allocations: 365.7 kB / 429.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000904/0.1353, allocations: 0.573 MB / 430 MB, free: 328 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.1353, allocations: 0 / 430 MB, free: 328 kB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.2048/0.3401, allocations: 0.7532 MB / 430.8 MB, free: 22.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3402, allocations: 8.906 kB / 430.8 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.3402, allocations: 2.469 kB / 430.8 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/0.3408, allocations: 210.4 kB / 431 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/0.3411, allocations: 71.27 kB / 431.1 MB, free: 22.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00305/0.3442, allocations: 3.038 MB / 434.1 MB, free: 20.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004855/0.3447, allocations: 50.81 kB / 434.1 MB, free: 20.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.3447, allocations: 18.23 kB / 434.2 MB, free: 20.78 MB / 350.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[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005014/0.3452, allocations: 330 kB / 434.5 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.358e-05/0.3453, allocations: 62.67 kB / 434.5 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.3454, allocations: 69.38 kB / 434.6 MB, free: 20.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3455, allocations: 6.172 kB / 434.6 MB, free: 20.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3455, allocations: 1.078 kB / 434.6 MB, free: 20.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.3455, allocations: 3.75 kB / 434.6 MB, free: 20.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.348, allocations: 1.742 MB / 436.4 MB, free: 20.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.348, allocations: 0.875 kB / 436.4 MB, free: 20.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.3482, allocations: 51.83 kB / 436.4 MB, free: 20.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/0.3488, allocations: 198.7 kB / 436.6 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.3488, allocations: 10.25 kB / 436.6 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002848/0.3517, allocations: 2.913 MB / 439.5 MB, free: 18.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3517, allocations: 4.141 kB / 439.5 MB, free: 18.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.3535, allocations: 1.149 MB / 440.7 MB, free: 18.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.3538, allocations: 194.9 kB / 440.9 MB, free: 18.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.3539, allocations: 11.67 kB / 440.9 MB, free: 18.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.3541, allocations: 28.42 kB / 440.9 MB, free: 18.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.3543, allocations: 47.12 kB / 441 MB, free: 18.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.3543, allocations: 14.55 kB / 441 MB, free: 18.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00054/0.3549, allocations: 421.6 kB / 441.4 MB, free: 18.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3549, allocations: 0 / 441.4 MB, free: 18.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007853/0.3557, allocations: 205.7 kB / 441.6 MB, free: 18.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001477/0.3558, allocations: 120.4 kB / 441.7 MB, free: 18.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.3571, allocations: 0.7336 MB / 442.4 MB, free: 18.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3571, allocations: 2.188 kB / 442.4 MB, free: 18.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007093/0.3578, allocations: 476 kB / 442.9 MB, free: 17.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007/0.3586, allocations: 148 kB / 443.1 MB, free: 17.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.3611, allocations: 1.585 MB / 444.6 MB, free: 17.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.3616, allocations: 1.054 MB / 445.7 MB, free: 16.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.3618, allocations: 47.59 kB / 445.7 MB, free: 16.69 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3618, allocations: 0 / 445.7 MB, free: 16.69 MB / 350.1 MB Notification: Performance of Templates: time 0.01666/0.3784, allocations: 12.87 MB / 458.6 MB, free: 11.64 MB / 350.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 -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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.44451299100183]