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.001342/0.001342, allocations: 75.73 kB / 21.24 MB, free: 400 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.001431/0.001431, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.438/1.438, allocations: 177.2 MB / 204.9 MB, free: 8.891 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 0.002058/0.002058, allocations: 46.45 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.1016, allocations: 53.35 MB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005293/0.1069, allocations: 3.44 MB / 382.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.1092, allocations: 1.044 MB / 383.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.1094, allocations: 19.88 kB / 383.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.1097, allocations: 107.1 kB / 383.5 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007866/0.1105, allocations: 254.6 kB / 383.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.1108, allocations: 151.7 kB / 383.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.1119, allocations: 0.9652 MB / 384.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000524/0.1124, allocations: 339.5 kB / 385.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.1129, allocations: 438.5 kB / 385.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007343/0.1137, allocations: 498 kB / 386.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.1138, allocations: 108 kB / 386.2 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.114, allocations: 111.9 kB / 386.4 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002934/0.1143, allocations: 279.2 kB / 386.6 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004389/0.1148, allocations: 386.3 kB / 387 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.1162, allocations: 1.323 MB / 388.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1162, allocations: 0 / 388.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1162, allocations: 0 / 388.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.1162, allocations: 0 / 388.3 MB, free: 6.164 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.002439/0.1186, allocations: 1.315 MB / 389.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1187, allocations: 8.031 kB / 389.6 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004402/0.1191, allocations: 132.3 kB / 389.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.1202, allocations: 0.5969 MB / 390.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.984e-05/0.1202, allocations: 57.25 kB / 390.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.1204, allocations: 67.98 kB / 390.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.1219, allocations: 0.9479 MB / 391.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.122, allocations: 3.953 kB / 391.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.178e-05/0.122, allocations: 31.98 kB / 391.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/0.1221, allocations: 29.31 kB / 391.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.1235, allocations: 0.7897 MB / 392.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004138/0.1276, allocations: 2.426 MB / 394.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008843/0.1285, allocations: 0.4916 MB / 395.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005909/0.1291, allocations: 313.2 kB / 395.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.1291, allocations: 8.328 kB / 395.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006806/0.1298, allocations: 399.7 kB / 395.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.494e-06/0.1298, allocations: 0 / 395.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.002956/0.1328, allocations: 1.119 MB / 397 MB, free: 13.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.1328, allocations: 110.6 kB / 397.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007435/0.1336, allocations: 0.5722 MB / 397.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.1336, allocations: 37.7 kB / 397.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.134, allocations: 372.6 kB / 398.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.1341, allocations: 142.8 kB / 398.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.1343, allocations: 94.14 kB / 398.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.1345, allocations: 370.8 kB / 398.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.1349, allocations: 212.9 kB / 398.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005376/0.1355, allocations: 386.8 kB / 399.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009231/0.1364, allocations: 0.5783 MB / 399.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1364, allocations: 0 / 399.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001381/0.1378, allocations: 0.7476 MB / 400.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1378, allocations: 11.94 kB / 400.6 MB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.1378, allocations: 4 kB / 400.6 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005766/0.1384, allocations: 197.6 kB / 400.8 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.1387, allocations: 84.05 kB / 400.9 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003571/0.1423, allocations: 2.774 MB / 403.7 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/0.1427, allocations: 55.72 kB / 403.7 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.1427, allocations: 23.88 kB / 403.8 MB, free: 6.195 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.000528/0.1432, allocations: 337.5 kB / 404.1 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.1434, allocations: 55.67 kB / 404.2 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.1435, allocations: 61.41 kB / 404.2 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.1435, allocations: 8 kB / 404.2 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1435, allocations: 3.984 kB / 404.2 MB, free: 5.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1435, allocations: 4.141 kB / 404.2 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.1461, allocations: 1.436 MB / 405.7 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.1461, allocations: 7.984 kB / 405.7 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.1463, allocations: 47.91 kB / 405.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004606/0.1468, allocations: 188.8 kB / 405.9 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.1468, allocations: 15.98 kB / 405.9 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003369/0.1502, allocations: 2.766 MB / 408.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1502, allocations: 0 / 408.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.152, allocations: 1.092 MB / 409.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/0.1523, allocations: 131.4 kB / 409.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/0.1524, allocations: 12 kB / 409.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.1527, allocations: 27.97 kB / 409.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.1528, allocations: 47.7 kB / 410 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.1529, allocations: 11.98 kB / 410 MB, free: 15.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005533/0.1534, allocations: 418.8 kB / 410.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1534, allocations: 0 / 410.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007635/0.1542, allocations: 207.5 kB / 410.6 MB, free: 15.16 MB / 382.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.0001525/0.1543, allocations: 120.5 kB / 410.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.1557, allocations: 0.7089 MB / 411.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1557, allocations: 0 / 411.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007133/0.1564, allocations: 463.3 kB / 411.9 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/0.1571, allocations: 145.7 kB / 412 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.1597, allocations: 1.475 MB / 413.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.1602, allocations: 498.3 kB / 414 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000253/0.1605, allocations: 92.67 kB / 414.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.1606, allocations: 36.5 kB / 414.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1606, allocations: 0 / 414.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of Templates: time 0.01832/0.1789, allocations: 9.702 MB / 423.8 MB, free: 2.062 MB / 382.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/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.439274983014911]