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.0008931/0.0008931, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008926/0.0008926, allocations: 170 kB / 23.95 MB, free: 0.6133 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 0.8994/0.8994, allocations: 177.1 MB / 204.2 MB, free: 5.727 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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.996e-05, allocations: 4.531 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003367/0.003387, allocations: 3.235 MB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.004662, allocations: 0.8996 MB / 328.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.004809, allocations: 7.938 kB / 328.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.004996, allocations: 75.23 kB / 328.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.005288, allocations: 134.8 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.005629, allocations: 163.7 kB / 329.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.006038, allocations: 0.5449 MB / 329.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.006269, allocations: 118.4 kB / 329.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003619/0.006631, allocations: 307.3 kB / 330.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.006833, allocations: 155.5 kB / 330.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.006882, allocations: 44 kB / 330.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.569e-05/0.006967, allocations: 55.94 kB / 330.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.897e-05/0.007036, allocations: 107.6 kB / 330.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.007152, allocations: 163.5 kB / 330.6 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.007631, allocations: 0.5451 MB / 331.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.007634, allocations: 0 / 331.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007635, allocations: 4 kB / 331.1 MB, free: 9.363 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.007641, allocations: 4 kB / 331.1 MB, free: 9.359 MB / 298.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.001009/0.00865, allocations: 0.7775 MB / 331.9 MB, free: 8.539 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.008688, allocations: 8.031 kB / 331.9 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.01e-05/0.008748, allocations: 78.7 kB / 332 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.008917, allocations: 72.59 kB / 332.1 MB, free: 8.375 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.009262, allocations: 294.5 kB / 332.4 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.009283, allocations: 29.38 kB / 332.4 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.009325, allocations: 36.38 kB / 332.4 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.0098, allocations: 418.1 kB / 332.8 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.009819, allocations: 12.11 kB / 332.8 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.009848, allocations: 23.94 kB / 332.9 MB, free: 7.531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.009857, allocations: 8 kB / 332.9 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003689/0.01023, allocations: 259.8 kB / 333.1 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.01163, allocations: 1.346 MB / 334.5 MB, free: 5.836 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.01192, allocations: 215.4 kB / 334.7 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.01215, allocations: 157.2 kB / 334.8 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.01218, allocations: 8.219 kB / 334.8 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.01247, allocations: 263.6 kB / 335.1 MB, free: 5.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.372e-06/0.01247, allocations: 0 / 335.1 MB, free: 5.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009397/0.01341, allocations: 0.4988 MB / 335.6 MB, free: 4.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.01347, allocations: 110.8 kB / 335.7 MB, free: 4.527 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.0137, allocations: 308.5 kB / 336 MB, free: 4.219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.01372, allocations: 33.7 kB / 336 MB, free: 4.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.01384, allocations: 232.6 kB / 336.3 MB, free: 3.949 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.01391, allocations: 103.2 kB / 336.4 MB, free: 3.848 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.923e-05/0.01399, allocations: 70.06 kB / 336.4 MB, free: 3.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.0141, allocations: 346.8 kB / 336.8 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.01422, allocations: 88.7 kB / 336.9 MB, free: 3.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.01442, allocations: 251.2 kB / 337.1 MB, free: 3.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.01474, allocations: 326.7 kB / 337.4 MB, free: 2.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.01474, allocations: 4 kB / 337.4 MB, free: 2.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005098/0.01525, allocations: 410.1 kB / 337.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.01527, allocations: 8 kB / 337.8 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.01528, allocations: 4 kB / 337.8 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002461/0.01553, allocations: 80.8 kB / 337.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.01567, allocations: 51.92 kB / 338 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.01698, allocations: 1.895 MB / 339.9 MB, free: 84 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.01711, allocations: 43.77 kB / 339.9 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.01713, allocations: 12 kB / 339.9 MB, free: 28 kB / 298.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.0001485/0.01728, allocations: 166.2 kB / 340.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.01731, allocations: 39.7 kB / 340.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.01736, allocations: 51.89 kB / 340.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.01736, allocations: 12.02 kB / 340.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01737, allocations: 0 / 340.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01737, allocations: 192 / 340.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.01781, allocations: 0.4982 MB / 340.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01781, allocations: 3.938 kB / 340.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.01791, allocations: 35.91 kB / 340.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/0.01808, allocations: 80.81 kB / 340.8 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.0181, allocations: 8.031 kB / 340.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.01933, allocations: 1.871 MB / 342.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01933, allocations: 0 / 342.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005807/0.01991, allocations: 0.5037 MB / 343.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.01999, allocations: 55.77 kB / 343.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.02002, allocations: 7.938 kB / 343.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.02011, allocations: 15.98 kB / 343.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.02017, allocations: 31.94 kB / 343.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.02018, allocations: 12 kB / 343.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.02033, allocations: 219.1 kB / 343.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02033, allocations: 0 / 343.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.02065, allocations: 115.8 kB / 343.6 MB, free: 12.11 MB / 314.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.0007814/0.02143, allocations: 1.048 MB / 344.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005185/0.02195, allocations: 401.5 kB / 345.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.02195, allocations: 3.938 kB / 345.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.0222, allocations: 279.3 kB / 345.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.02245, allocations: 68.45 kB / 345.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.02595, allocations: 3.449 MB / 348.9 MB, free: 6.617 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.02613, allocations: 211.8 kB / 349.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.02625, allocations: 30.97 kB / 349.1 MB, free: 6.359 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.0264, allocations: 132.5 kB / 349.2 MB, free: 6.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.403e-06/0.0264, allocations: 0 / 349.2 MB, free: 6.23 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.05234, allocations: 9.199 MB / 358.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/7.856, allocations: 6.75 kB / 358.4 MB, free: 13.31 MB / 330.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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: 9.534201414324343]