Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9949/0.9949, allocations: 173.3 MB / 201.1 MB, free: 9.352 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.106e-05, allocations: 2.312 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003713/0.003734, allocations: 3.449 MB / 271.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.004793, allocations: 0.8295 MB / 272.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.00494, allocations: 11.94 kB / 272.3 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.005116, allocations: 71.23 kB / 272.4 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.005349, allocations: 130.8 kB / 272.5 MB, free: 1.922 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.005589, allocations: 151.6 kB / 272.6 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003773/0.005966, allocations: 0.525 MB / 273.2 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.006171, allocations: 118.4 kB / 273.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.006406, allocations: 295.3 kB / 273.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.006597, allocations: 163.5 kB / 273.7 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.00665, allocations: 48 kB / 273.8 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.577e-05/0.006696, allocations: 44 kB / 273.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.152e-05/0.006767, allocations: 107.6 kB / 273.9 MB, free: 492 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.006883, allocations: 155.6 kB / 274.1 MB, free: 336 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.007204, allocations: 350.7 kB / 274.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.007206, allocations: 0 / 274.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.007207, allocations: 0 / 274.4 MB, free: 15.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.007214, allocations: 4 kB / 274.4 MB, free: 15.98 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.0008839/0.008098, allocations: 0.8626 MB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.008134, allocations: 12.92 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/0.008227, allocations: 84.61 kB / 275.4 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.008526, allocations: 289.3 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.008547, allocations: 29.38 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-05/0.0086, allocations: 40.31 kB / 275.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.009009, allocations: 346.2 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.009023, allocations: 192 / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.00905, allocations: 24.11 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.009062, allocations: 16 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.00928, allocations: 133.8 kB / 276.2 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.01082, allocations: 1.447 MB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.01107, allocations: 179.9 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.01126, allocations: 112.1 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.01129, allocations: 8.172 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.01152, allocations: 217.9 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.293e-06/0.01152, allocations: 4 kB / 278.2 MB, free: 11.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008108/0.01234, allocations: 400.8 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.01239, allocations: 114.8 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.0126, allocations: 322.3 kB / 279 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.01262, allocations: 33.7 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.01274, allocations: 267.4 kB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.01279, allocations: 103.1 kB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.01288, allocations: 75.72 kB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.01301, allocations: 0.5118 MB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.828e-05/0.01309, allocations: 44.72 kB / 280 MB, free: 10.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.01325, allocations: 252.9 kB / 280.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.0135, allocations: 310.1 kB / 280.6 MB, free: 9.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0135, allocations: 0 / 280.6 MB, free: 9.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004859/0.01399, allocations: 336 kB / 280.9 MB, free: 8.984 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.01401, allocations: 10.75 kB / 280.9 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.01402, allocations: 4 kB / 280.9 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.01426, allocations: 63.64 kB / 281 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.01441, allocations: 63.91 kB / 281.1 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.01568, allocations: 2.278 MB / 283.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.01581, allocations: 35.78 kB / 283.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.01583, allocations: 15.94 kB / 283.4 MB, free: 6.398 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.0001254/0.01595, allocations: 184.4 kB / 283.6 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.016, allocations: 43.81 kB / 283.6 MB, free: 6.164 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.01604, allocations: 43.11 kB / 283.7 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.01605, allocations: 4 kB / 283.7 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01605, allocations: 3.938 kB / 283.7 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.01606, allocations: 0 / 283.7 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006367/0.01669, allocations: 496.8 kB / 284.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.0167, allocations: 0 / 284.1 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.973e-05/0.0168, allocations: 27.92 kB / 284.2 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001351/0.01693, allocations: 63.67 kB / 284.2 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.01695, allocations: 19.95 kB / 284.3 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.01808, allocations: 2.255 MB / 286.5 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01808, allocations: 4 kB / 286.5 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.01852, allocations: 375.8 kB / 286.9 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.603e-05/0.0186, allocations: 59.7 kB / 286.9 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.01862, allocations: 12 kB / 287 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.0187, allocations: 12 kB / 287 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.01877, allocations: 27.94 kB / 287 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.01878, allocations: 8 kB / 287 MB, free: 2.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.01891, allocations: 227 kB / 287.2 MB, free: 2.344 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01891, allocations: 0 / 287.2 MB, free: 2.344 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002978/0.01921, allocations: 119.7 kB / 287.3 MB, free: 2.227 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.0001096/0.01932, allocations: 122.2 kB / 287.5 MB, free: 2.098 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004515/0.01977, allocations: 396.6 kB / 287.8 MB, free: 1.691 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01977, allocations: 1 kB / 287.8 MB, free: 1.691 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.01999, allocations: 305.2 kB / 288.1 MB, free: 1.371 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.02022, allocations: 60.89 kB / 288.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.02131, allocations: 0.6786 MB / 288.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.198e-05/0.02137, allocations: 104.5 kB / 289 MB, free: 488 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.742e-05/0.02145, allocations: 38.95 kB / 289 MB, free: 448 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.0215, allocations: 32.48 kB / 289.1 MB, free: 416 kB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0215, allocations: 0 / 289.1 MB, free: 416 kB / 266.7 MB Notification: Performance of Templates: time 0.007147/0.02865, allocations: 4.546 MB / 293.6 MB, free: 11.98 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.095462559722364]