Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.001569/0.001569, allocations: 76.41 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001242/0.001242, allocations: 173.8 kB / 25.61 MB, free: 8.898 MB / 18.57 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.036/1.036, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.34e-05/3.514e-05, allocations: 2.312 kB / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005923/0.005958, allocations: 3.417 MB / 277.6 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.008143, allocations: 0.9061 MB / 278.5 MB, free: 72 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003432/0.008486, allocations: 7.938 kB / 278.5 MB, free: 64 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.008769, allocations: 67.36 kB / 278.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004619/0.009231, allocations: 133.3 kB / 278.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.009775, allocations: 175.5 kB / 278.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007003/0.01048, allocations: 0.5329 MB / 279.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.01079, allocations: 122.3 kB / 279.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005719/0.01136, allocations: 311.2 kB / 279.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.01173, allocations: 167.5 kB / 280 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.448e-05/0.01182, allocations: 48 kB / 280.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.01193, allocations: 51.94 kB / 280.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.01217, allocations: 103.6 kB / 280.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.01237, allocations: 167.6 kB / 280.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005465/0.01291, allocations: 346.7 kB / 280.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.01292, allocations: 0 / 280.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01292, allocations: 3.938 kB / 280.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.01293, allocations: 0 / 280.7 MB, free: 13.86 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.001344/0.01427, allocations: 0.9012 MB / 281.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.01431, allocations: 12.03 kB / 281.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.01462, allocations: 92.64 kB / 281.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.01507, allocations: 296.2 kB / 282 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.01511, allocations: 33.38 kB / 282.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.01518, allocations: 44.36 kB / 282.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.0157, allocations: 326.1 kB / 282.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.01572, allocations: 8.188 kB / 282.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.01576, allocations: 20.12 kB / 282.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.01577, allocations: 8 kB / 282.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.01601, allocations: 110.8 kB / 282.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/0.01758, allocations: 1.401 MB / 284 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.01782, allocations: 167.8 kB / 284.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.01799, allocations: 104.1 kB / 284.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.01802, allocations: 8.234 kB / 284.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.01827, allocations: 201.9 kB / 284.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/0.01827, allocations: 4 kB / 284.4 MB, free: 9.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007709/0.01904, allocations: 378.3 kB / 284.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.01911, allocations: 106.8 kB / 284.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.01934, allocations: 342 kB / 285.3 MB, free: 9.066 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.01936, allocations: 33.7 kB / 285.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.01951, allocations: 267.4 kB / 285.5 MB, free: 8.762 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/0.01958, allocations: 103.1 kB / 285.6 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.101e-05/0.01967, allocations: 79.67 kB / 285.7 MB, free: 8.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.01984, allocations: 0.5195 MB / 286.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.01989, allocations: 40.69 kB / 286.3 MB, free: 8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.02004, allocations: 244.9 kB / 286.5 MB, free: 7.676 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.02026, allocations: 284.8 kB / 286.8 MB, free: 7.324 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.02027, allocations: 0 / 286.8 MB, free: 7.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003434/0.02061, allocations: 308.6 kB / 287.1 MB, free: 7.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.02063, allocations: 8 kB / 287.1 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.02064, allocations: 4 kB / 287.1 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.02081, allocations: 59.58 kB / 287.2 MB, free: 6.938 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.02095, allocations: 64.31 kB / 287.2 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.02224, allocations: 2.232 MB / 289.5 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.02238, allocations: 39.78 kB / 289.5 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.02239, allocations: 11.94 kB / 289.5 MB, free: 4.48 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.0001439/0.02254, allocations: 192.5 kB / 289.7 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.02259, allocations: 39.81 kB / 289.7 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.02264, allocations: 39.86 kB / 289.8 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.02264, allocations: 4 kB / 289.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.02265, allocations: 0 / 289.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.02265, allocations: 7.984 kB / 289.8 MB, free: 4.191 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.02306, allocations: 457.3 kB / 290.2 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.02306, allocations: 0 / 290.2 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.02315, allocations: 31.92 kB / 290.3 MB, free: 3.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001364/0.02329, allocations: 63.64 kB / 290.3 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.02331, allocations: 8 kB / 290.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.02441, allocations: 2.216 MB / 292.6 MB, free: 1.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02442, allocations: 4.031 kB / 292.6 MB, free: 1.266 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.02481, allocations: 348.6 kB / 292.9 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.682e-05/0.02489, allocations: 59.66 kB / 293 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.02492, allocations: 7.984 kB / 293 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.025, allocations: 12 kB / 293 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.02506, allocations: 31.94 kB / 293 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.02507, allocations: 7.938 kB / 293 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.02518, allocations: 226.9 kB / 293.2 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02518, allocations: 4 kB / 293.2 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003566/0.02554, allocations: 115.7 kB / 293.4 MB, free: 448 kB / 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.0001261/0.02567, allocations: 115.2 kB / 293.5 MB, free: 324 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004245/0.02609, allocations: 384 kB / 293.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02609, allocations: 3.938 kB / 293.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.02633, allocations: 297.2 kB / 294.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.02658, allocations: 63.25 kB / 294.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.02769, allocations: 0.6777 MB / 294.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.533e-05/0.02776, allocations: 104.6 kB / 295 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.713e-05/0.02784, allocations: 38.95 kB / 295 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.02798, allocations: 134.2 kB / 295.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02798, allocations: 0 / 295.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of Templates: time 0.008101/0.03608, allocations: 5.066 MB / 300.2 MB, free: 9.609 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.081318847835064]