Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.001375/0.001375, allocations: 89.53 kB / 20.69 MB, free: 1.02 MB / 14.72 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.001495/0.001495, allocations: 161.5 kB / 23.95 MB, free: 4.152 MB / 14.72 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.454/1.454, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.508e-05, allocations: 5.375 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.008574/0.0086, allocations: 4.194 MB / 329.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003933/0.01253, allocations: 1.274 MB / 330.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008512/0.01338, allocations: 29.38 kB / 330.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000735/0.01412, allocations: 177.6 kB / 330.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.01598, allocations: 381.3 kB / 331.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008511/0.01683, allocations: 221.7 kB / 331.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002945/0.01978, allocations: 1.696 MB / 333 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.02126, allocations: 0.5714 MB / 333.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.0236, allocations: 1.028 MB / 334.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.02565, allocations: 0.7868 MB / 335.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005933/0.02625, allocations: 177.8 kB / 335.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008308/0.02708, allocations: 181.8 kB / 335.7 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009578/0.02803, allocations: 0.4913 MB / 336.2 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.02983, allocations: 0.5387 MB / 336.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004081/0.03391, allocations: 2.331 MB / 339.1 MB, free: 6.934 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.03391, allocations: 4 kB / 339.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.03391, allocations: 0 / 339.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.529e-05/0.03399, allocations: 0 / 339.1 MB, free: 6.93 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.005469/0.03946, allocations: 2.049 MB / 341.1 MB, free: 4.828 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.0395, allocations: 11.98 kB / 341.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009373/0.04043, allocations: 215.9 kB / 341.4 MB, free: 4.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.04224, allocations: 0.9741 MB / 342.3 MB, free: 3.602 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.04231, allocations: 82.44 kB / 342.4 MB, free: 3.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.0425, allocations: 108.3 kB / 342.5 MB, free: 3.414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002777/0.04528, allocations: 1.571 MB / 344.1 MB, free: 1.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.04531, allocations: 7.875 kB / 344.1 MB, free: 1.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.04543, allocations: 44 kB / 344.1 MB, free: 1.727 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-05/0.0455, allocations: 54.02 kB / 344.2 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/0.0481, allocations: 1.429 MB / 345.6 MB, free: 240 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007122/0.05522, allocations: 4.318 MB / 349.9 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.05684, allocations: 0.9445 MB / 350.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.0582, allocations: 0.6809 MB / 351.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/0.05825, allocations: 8.656 kB / 351.6 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.05934, allocations: 0.6374 MB / 352.2 MB, free: 9.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=72): time 2.564e-06/0.05935, allocations: 0 / 352.2 MB, free: 9.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=72): time 0.006453/0.0658, allocations: 2.356 MB / 354.6 MB, free: 7.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.06587, allocations: 89.75 kB / 354.7 MB, free: 6.969 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.06719, allocations: 0.9228 MB / 355.6 MB, free: 6.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.745e-05/0.06727, allocations: 49.62 kB / 355.6 MB, free: 5.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005265/0.06779, allocations: 0.5436 MB / 356.2 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.06801, allocations: 241.9 kB / 356.4 MB, free: 5.195 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.06825, allocations: 130.6 kB / 356.5 MB, free: 5.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.06843, allocations: 334 kB / 356.9 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007526/0.06918, allocations: 417.7 kB / 357.3 MB, free: 4.324 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008869/0.07006, allocations: 0.5776 MB / 357.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00162/0.07168, allocations: 0.9483 MB / 358.8 MB, free: 2.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.07169, allocations: 0 / 358.8 MB, free: 2.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002338/0.07403, allocations: 1.287 MB / 360.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.07405, allocations: 8 kB / 360.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.07406, allocations: 4 kB / 360.1 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009926/0.07505, allocations: 403.4 kB / 360.5 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.07559, allocations: 111.8 kB / 360.6 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006018/0.0816, allocations: 4.318 MB / 364.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/0.08219, allocations: 79.64 kB / 365 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/0.08225, allocations: 24 kB / 365 MB, free: 12.34 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (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.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0007783/0.08303, allocations: 499.4 kB / 365.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.08318, allocations: 103.4 kB / 365.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.08344, allocations: 116.5 kB / 365.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.08345, allocations: 4 kB / 365.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.08346, allocations: 11.92 kB / 365.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.08346, allocations: 0 / 365.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.08742, allocations: 2.282 MB / 368 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.08743, allocations: 0 / 368 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.08787, allocations: 83.88 kB / 368.1 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000892/0.08876, allocations: 392.6 kB / 368.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/0.08881, allocations: 12 kB / 368.5 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005764/0.09458, allocations: 4.289 MB / 372.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.09458, allocations: 0 / 372.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/0.09783, allocations: 1.952 MB / 374.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004786/0.0983, allocations: 215.2 kB / 375 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.09843, allocations: 19.94 kB / 375 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/0.09889, allocations: 43.89 kB / 375 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.0991, allocations: 80.5 kB / 375.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-05/0.09916, allocations: 23.98 kB / 375.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009371/0.1001, allocations: 0.6629 MB / 375.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1001, allocations: 0 / 375.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009927/0.1011, allocations: 359.1 kB / 376.1 MB, free: 1.062 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001989/0.1013, allocations: 133.3 kB / 376.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0023/0.1036, allocations: 1.249 MB / 377.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1036, allocations: 0 / 377.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.1049, allocations: 0.7803 MB / 378.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.106, allocations: 235.2 kB / 378.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004827/0.1108, allocations: 2.647 MB / 381.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000925/0.1117, allocations: 0.8024 MB / 382 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004281/0.1121, allocations: 167.2 kB / 382.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.1123, allocations: 60.48 kB / 382.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1123, allocations: 0 / 382.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Templates: time 0.03063/0.143, allocations: 17.36 MB / 399.6 MB, free: 9.777 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.076595772057772]