Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001083/0.001083, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.06/1.06, allocations: 177 MB / 204.8 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 272.9 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.867e-05, allocations: 2.312 kB / 272.9 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003271/0.00329, allocations: 3.482 MB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.004558, allocations: 0.919 MB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.00472, allocations: 7.938 kB / 277.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.004923, allocations: 71.3 kB / 277.4 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.005283, allocations: 138.8 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.005621, allocations: 159.6 kB / 277.7 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.006027, allocations: 0.5406 MB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.006237, allocations: 126.3 kB / 278.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.006536, allocations: 307.2 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.006753, allocations: 163.5 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.006807, allocations: 48 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.736e-05/0.006885, allocations: 55.98 kB / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.205e-05/0.006957, allocations: 115.5 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.007076, allocations: 159.6 kB / 279.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.007409, allocations: 354.6 kB / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.007411, allocations: 4 kB / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.007412, allocations: 0 / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.007417, allocations: 0 / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0009365/0.008353, allocations: 0.882 MB / 280.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.008393, allocations: 11.98 kB / 280.4 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/0.008597, allocations: 100.6 kB / 280.5 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.008929, allocations: 305.2 kB / 280.8 MB, free: 9.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.008952, allocations: 33.38 kB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.009002, allocations: 36.38 kB / 280.9 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.009414, allocations: 350.2 kB / 281.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.009429, allocations: 4.188 kB / 281.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.009458, allocations: 16.12 kB / 281.3 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.00947, allocations: 12 kB / 281.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.00969, allocations: 133.8 kB / 281.4 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.01101, allocations: 1.459 MB / 282.9 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.01124, allocations: 172 kB / 283 MB, free: 6.926 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.01144, allocations: 120.1 kB / 283.2 MB, free: 6.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.01147, allocations: 8.234 kB / 283.2 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.01171, allocations: 221.8 kB / 283.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.01172, allocations: 0 / 283.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008325/0.01255, allocations: 400.8 kB / 283.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.01262, allocations: 114.8 kB / 283.9 MB, free: 6.008 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.01287, allocations: 342.2 kB / 284.2 MB, free: 5.656 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.0129, allocations: 33.7 kB / 284.3 MB, free: 5.617 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.01305, allocations: 271.4 kB / 284.5 MB, free: 5.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.01311, allocations: 107.1 kB / 284.6 MB, free: 5.242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.574e-05/0.01319, allocations: 75.73 kB / 284.7 MB, free: 5.156 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.01335, allocations: 0.5118 MB / 285.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.819e-05/0.01343, allocations: 44.66 kB / 285.3 MB, free: 4.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.0136, allocations: 260.9 kB / 285.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.01387, allocations: 298 kB / 285.8 MB, free: 3.883 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.01388, allocations: 4 kB / 285.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003731/0.01425, allocations: 322.2 kB / 286.1 MB, free: 3.555 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.01427, allocations: 7.938 kB / 286.1 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.01428, allocations: 11.92 kB / 286.1 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.01449, allocations: 68.14 kB / 286.2 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.01464, allocations: 63.91 kB / 286.3 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.0159, allocations: 2.278 MB / 288.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.01601, allocations: 39.81 kB / 288.6 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.01603, allocations: 15.98 kB / 288.6 MB, free: 0.9492 MB / 266.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: 11 (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_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.01614, allocations: 176.5 kB / 288.8 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.01618, allocations: 43.81 kB / 288.8 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.01623, allocations: 39.86 kB / 288.9 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01623, allocations: 7.938 kB / 288.9 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01623, allocations: 3.938 kB / 288.9 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.01624, allocations: 3.984 kB / 288.9 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.01663, allocations: 0.493 MB / 289.4 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01663, allocations: 0 / 289.4 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.689e-05/0.01672, allocations: 27.92 kB / 289.4 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001323/0.01685, allocations: 63.64 kB / 289.5 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.01687, allocations: 15.92 kB / 289.5 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1278/0.1447, allocations: 2.25 MB / 291.7 MB, free: 23.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1447, allocations: 2.172 kB / 291.7 MB, free: 23.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006967/0.1454, allocations: 369.8 kB / 292.1 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.1456, allocations: 60.89 kB / 292.1 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.1456, allocations: 8.406 kB / 292.2 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.1457, allocations: 12.25 kB / 292.2 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.38e-05/0.1458, allocations: 32.86 kB / 292.2 MB, free: 23.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.1458, allocations: 13.47 kB / 292.2 MB, free: 23.17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.146, allocations: 228.3 kB / 292.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.146, allocations: 1.078 kB / 292.4 MB, free: 23.05 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005423/0.1466, allocations: 121.7 kB / 292.6 MB, free: 23.05 MB / 266.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.off,rectifier.diode_p.off) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001465/0.1467, allocations: 116.2 kB / 292.7 MB, free: 22.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006102/0.1473, allocations: 401.5 kB / 293.1 MB, free: 22.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.1473, allocations: 0 / 293.1 MB, free: 22.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002846/0.1476, allocations: 302.6 kB / 293.4 MB, free: 22.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.1479, allocations: 58.97 kB / 293.4 MB, free: 22.58 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1494, allocations: 0.6982 MB / 294.1 MB, free: 22.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.1495, allocations: 109.3 kB / 294.2 MB, free: 22.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.1497, allocations: 32.86 kB / 294.2 MB, free: 22.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/0.1497, allocations: 31.28 kB / 294.3 MB, free: 22.13 MB / 266.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1497, allocations: 0 / 294.3 MB, free: 22.13 MB / 266.7 MB Notification: Performance of Templates: time 0.01015/0.1599, allocations: 4.666 MB / 298.9 MB, free: 21.74 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1418768167495728]