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.0009958/0.0009958, allocations: 80.34 kB / 22.21 MB, free: 2.281 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.001024/0.001024, allocations: 166.2 kB / 25.61 MB, free: 8.578 MB / 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 0.9718/0.9718, allocations: 177 MB / 205.9 MB, free: 4.441 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.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.382e-06/1.382e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.586e-05, allocations: 6.141 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004019/0.004035, allocations: 4.48 MB / 278.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.005478, allocations: 1.304 MB / 279.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.005674, allocations: 28.47 kB / 279.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.005932, allocations: 178.6 kB / 280.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006176/0.006549, allocations: 377.5 kB / 280.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.006809, allocations: 223.5 kB / 280.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009862/0.007795, allocations: 1.688 MB / 282.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005519/0.008347, allocations: 0.5755 MB / 283 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000751/0.009098, allocations: 1.041 MB / 284 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006819/0.00978, allocations: 0.8457 MB / 284.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.009915, allocations: 180 kB / 285 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.01034, allocations: 176 kB / 285.2 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.01062, allocations: 0.4986 MB / 285.7 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.01099, allocations: 0.5534 MB / 286.3 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008849/0.01188, allocations: 1.34 MB / 287.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01188, allocations: 0 / 287.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.01188, allocations: 0 / 287.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.01189, allocations: 0 / 287.6 MB, free: 6.73 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002024/0.01391, allocations: 2.297 MB / 289.9 MB, free: 4.375 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.01394, allocations: 12.03 kB / 289.9 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.01436, allocations: 283.8 kB / 290.2 MB, free: 4.086 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007496/0.01511, allocations: 0.8303 MB / 291 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.01515, allocations: 78.44 kB / 291.1 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.01525, allocations: 104.4 kB / 291.2 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008698/0.01612, allocations: 0.8441 MB / 292 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.01615, allocations: 3.938 kB / 292 MB, free: 2.121 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.01621, allocations: 47.98 kB / 292.1 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-05/0.01626, allocations: 42.03 kB / 292.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007306/0.01699, allocations: 301.9 kB / 292.4 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003101/0.02009, allocations: 3.872 MB / 296.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004703/0.02056, allocations: 475.8 kB / 296.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/0.02095, allocations: 324.9 kB / 297.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.02098, allocations: 12.66 kB / 297.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003363/0.02132, allocations: 352.2 kB / 297.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=72): time 1.723e-06/0.02132, allocations: 0 / 297.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.002056/0.02338, allocations: 1.079 MB / 298.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.02342, allocations: 93.7 kB / 298.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007805/0.0242, allocations: 0.7647 MB / 299.4 MB, free: 10.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.02424, allocations: 45.7 kB / 299.4 MB, free: 10.46 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.02455, allocations: 0.6281 MB / 300 MB, free: 9.828 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.02468, allocations: 249.9 kB / 300.3 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.02482, allocations: 144.3 kB / 300.4 MB, free: 9.434 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.02494, allocations: 0.5121 MB / 300.9 MB, free: 8.914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.02506, allocations: 73.94 kB / 301 MB, free: 8.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.02529, allocations: 314.5 kB / 301.3 MB, free: 8.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.02565, allocations: 399.5 kB / 301.7 MB, free: 7.992 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.02566, allocations: 0 / 301.7 MB, free: 7.992 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006418/0.0263, allocations: 0.5631 MB / 302.3 MB, free: 7.418 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.02631, allocations: 4.469 kB / 302.3 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.02632, allocations: 4 kB / 302.3 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003479/0.02667, allocations: 186.1 kB / 302.5 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.02691, allocations: 107.9 kB / 302.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.02906, allocations: 3.097 MB / 305.7 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.02927, allocations: 67.55 kB / 305.7 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.0293, allocations: 20 kB / 305.7 MB, free: 3.832 MB / 282.7 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.0001931/0.02949, allocations: 198.5 kB / 305.9 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.0296, allocations: 127.4 kB / 306.1 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.02971, allocations: 108.5 kB / 306.2 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.02971, allocations: 4 kB / 306.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.02972, allocations: 0 / 306.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.02972, allocations: 7.984 kB / 306.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.03134, allocations: 1.321 MB / 307.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.03135, allocations: 3.938 kB / 307.5 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.03154, allocations: 75.89 kB / 307.6 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003067/0.03185, allocations: 171.5 kB / 307.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.03188, allocations: 12 kB / 307.8 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.03387, allocations: 3.048 MB / 310.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03387, allocations: 0 / 310.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007708/0.03464, allocations: 0.7645 MB / 311.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.03485, allocations: 179.2 kB / 311.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/0.03492, allocations: 12 kB / 311.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.03511, allocations: 23.98 kB / 311.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.03521, allocations: 64.53 kB / 311.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.03524, allocations: 23.98 kB / 311.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002934/0.03553, allocations: 462.7 kB / 312.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03553, allocations: 4 kB / 312.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005283/0.03606, allocations: 363.1 kB / 312.7 MB, free: 12.71 MB / 298.7 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.0001222/0.03618, allocations: 127.2 kB / 312.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000704/0.03688, allocations: 0.6972 MB / 313.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.03689, allocations: 0 / 313.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007119/0.0376, allocations: 0.561 MB / 314.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.03818, allocations: 259.1 kB / 314.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.04068, allocations: 2.268 MB / 316.6 MB, free: 8.719 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.04093, allocations: 391.8 kB / 317 MB, free: 8.316 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.04112, allocations: 99.25 kB / 317.1 MB, free: 8.215 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/0.04149, allocations: 294 kB / 317.4 MB, free: 7.926 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.04149, allocations: 0 / 317.4 MB, free: 7.926 MB / 298.7 MB Notification: Performance of Templates: time 0.0202/0.06169, allocations: 18.89 MB / 336.2 MB, free: 5.301 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.960762497037649]