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.0006754/0.0006754, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008452/0.001521, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006512/0.0006512, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002252/0.002904, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9318/0.9318, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09115/1.023, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.673e-06/1.673e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.989e-05, allocations: 6.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005979/0.005999, allocations: 4.557 MB / 249.6 MB, free: 9.043 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002698/0.008697, allocations: 1.355 MB / 250.9 MB, free: 7.684 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000385/0.009082, allocations: 31.81 kB / 251 MB, free: 7.652 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.009444, allocations: 174.6 kB / 251.1 MB, free: 7.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.01055, allocations: 377.5 kB / 251.5 MB, free: 7.109 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.01103, allocations: 219.5 kB / 251.7 MB, free: 6.895 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.01275, allocations: 1.696 MB / 253.4 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009462/0.0137, allocations: 0.5872 MB / 254 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.01542, allocations: 1.157 MB / 255.2 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.01655, allocations: 0.834 MB / 256 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000227/0.01678, allocations: 176 kB / 256.2 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.01704, allocations: 180 kB / 256.4 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.01732, allocations: 410.9 kB / 256.8 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.01774, allocations: 459.2 kB / 257.2 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009874/0.01872, allocations: 1.254 MB / 258.5 MB, free: 104 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.906e-05/0.01874, allocations: 0 / 258.5 MB, free: 104 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01874, allocations: 0 / 258.5 MB, free: 104 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.379e-05/0.01879, allocations: 0 / 258.5 MB, free: 104 kB / 250.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.002336/0.02112, allocations: 1.9 MB / 260.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.02116, allocations: 8.625 kB / 260.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004841/0.02164, allocations: 317.8 kB / 260.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007793/0.02242, allocations: 0.6221 MB / 261.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/0.02247, allocations: 82.44 kB / 261.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.02257, allocations: 104.4 kB / 261.5 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009202/0.02349, allocations: 0.8521 MB / 262.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.02351, allocations: 3.938 kB / 262.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.02358, allocations: 44 kB / 262.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.664e-05/0.02363, allocations: 50.03 kB / 262.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.02408, allocations: 262.1 kB / 262.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.02758, allocations: 3.022 MB / 265.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/0.02827, allocations: 426.2 kB / 266.1 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004784/0.02875, allocations: 298.8 kB / 266.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.02879, allocations: 8.656 kB / 266.4 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004223/0.02921, allocations: 320.8 kB / 266.7 MB, free: 7.469 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.755e-06/0.02921, allocations: 0 / 266.7 MB, free: 7.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002508/0.03172, allocations: 0.9542 MB / 267.7 MB, free: 6.504 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.03176, allocations: 64.06 kB / 267.8 MB, free: 6.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005628/0.03233, allocations: 0.6131 MB / 268.4 MB, free: 5.805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.133e-05/0.03238, allocations: 41.7 kB / 268.4 MB, free: 5.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.03263, allocations: 430.5 kB / 268.8 MB, free: 5.328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.03279, allocations: 249.8 kB / 269.1 MB, free: 5.082 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.03296, allocations: 122.6 kB / 269.2 MB, free: 4.957 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.03305, allocations: 341.9 kB / 269.5 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.0332, allocations: 65.97 kB / 269.6 MB, free: 4.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.03344, allocations: 247.7 kB / 269.8 MB, free: 4.246 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.03386, allocations: 350.1 kB / 270.2 MB, free: 3.855 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.03387, allocations: 0 / 270.2 MB, free: 3.855 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007135/0.03458, allocations: 453.1 kB / 270.6 MB, free: 3.402 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.0346, allocations: 8 kB / 270.6 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.03461, allocations: 4 kB / 270.6 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004591/0.03507, allocations: 174.5 kB / 270.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.03545, allocations: 127.8 kB / 270.9 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/0.03795, allocations: 2.385 MB / 273.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.03825, allocations: 63.61 kB / 273.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.03829, allocations: 19.94 kB / 273.4 MB, free: 0.5312 MB / 266.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_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: 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.0002359/0.03852, allocations: 166.6 kB / 273.5 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.03863, allocations: 87.86 kB / 273.6 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.03878, allocations: 108.5 kB / 273.7 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.03878, allocations: 8 kB / 273.7 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.03879, allocations: 0 / 273.7 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.03879, allocations: 3.984 kB / 273.8 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.04033, allocations: 1.009 MB / 274.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.04033, allocations: 0 / 274.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.04064, allocations: 95.86 kB / 274.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.04087, allocations: 123.2 kB / 275 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/0.04127, allocations: 168.2 kB / 275.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.04131, allocations: 15.98 kB / 275.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.04365, allocations: 2.384 MB / 277.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.04365, allocations: 3.938 kB / 277.5 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008554/0.04451, allocations: 0.5945 MB / 278.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.463e-05/0.0446, allocations: 19.88 kB / 278.2 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.04485, allocations: 27.92 kB / 278.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.04498, allocations: 68.53 kB / 278.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.04502, allocations: 15.98 kB / 278.3 MB, free: 11.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000311/0.04533, allocations: 308.5 kB / 278.6 MB, free: 11.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04533, allocations: 4 kB / 278.6 MB, free: 11.19 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007654/0.04609, allocations: 359.1 kB / 278.9 MB, free: 10.84 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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,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 (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.000152/0.04624, allocations: 104.3 kB / 279 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008537/0.0471, allocations: 0.6054 MB / 279.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.337e-05/0.04712, allocations: 15.98 kB / 279.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006764/0.0478, allocations: 488.8 kB / 280.1 MB, free: 9.594 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.04853, allocations: 307.2 kB / 280.4 MB, free: 9.293 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008842/0.05737, allocations: 2.377 MB / 282.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.05772, allocations: 331.8 kB / 283.1 MB, free: 6.527 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003411/0.05806, allocations: 99.2 kB / 283.2 MB, free: 6.426 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004747/0.05853, allocations: 253.1 kB / 283.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of SimCode: time 1.833e-06/0.05854, allocations: 0 / 283.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of Templates: time 0.1206/0.1791, allocations: 19.14 MB / 302.6 MB, free: 31.29 MB / 282.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 -ignoreHideResult -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.9077048301696777]