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.001107/0.001107, allocations: 76.08 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.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.0012/0.0012, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 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.8511/0.8511, allocations: 173.4 MB / 200.4 MB, free: 9.441 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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_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_0_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.362e-06/1.362e-06, allocations: 0 / 318.5 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.639e-06/1.1e-05, allocations: 5.516 kB / 318.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.002896/0.002907, allocations: 3.171 MB / 321.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008998/0.003806, allocations: 0.8179 MB / 322.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.003939, allocations: 15.94 kB / 322.5 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.004081, allocations: 63.3 kB / 322.5 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.004282, allocations: 138.8 kB / 322.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.004498, allocations: 143.7 kB / 322.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00034/0.004838, allocations: 0.5251 MB / 323.3 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.005028, allocations: 122.3 kB / 323.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.005249, allocations: 299.2 kB / 323.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.005428, allocations: 163.4 kB / 323.9 MB, free: 0.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.021e-05/0.005478, allocations: 51.94 kB / 324 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.108e-05/0.005519, allocations: 44 kB / 324 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-05/0.005584, allocations: 103.6 kB / 324.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.005695, allocations: 159.6 kB / 324.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.006057, allocations: 0.5335 MB / 324.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.006059, allocations: 0 / 324.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.00606, allocations: 4 kB / 324.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.006065, allocations: 0 / 324.8 MB, free: 15.98 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.0007784/0.006843, allocations: 0.7505 MB / 325.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.006873, allocations: 11.97 kB / 325.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/0.006928, allocations: 78.72 kB / 325.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.006984, allocations: 56.61 kB / 325.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.007272, allocations: 290.5 kB / 326 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.007291, allocations: 29.38 kB / 326 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.00733, allocations: 36.38 kB / 326 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.007925, allocations: 414.2 kB / 326.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.00794, allocations: 4.125 kB / 326.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.007966, allocations: 19.94 kB / 326.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.007974, allocations: 12 kB / 326.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003264/0.008301, allocations: 259.8 kB / 326.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.009497, allocations: 1.338 MB / 328.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.009757, allocations: 215.5 kB / 328.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.00998, allocations: 157.2 kB / 328.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.009999, allocations: 8.234 kB / 328.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.01026, allocations: 255.7 kB / 328.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.192e-06/0.01026, allocations: 0 / 328.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008247/0.01109, allocations: 0.5019 MB / 329.2 MB, free: 11.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.01113, allocations: 106.8 kB / 329.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.01134, allocations: 300.5 kB / 329.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.01136, allocations: 33.7 kB / 329.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.01145, allocations: 220.7 kB / 329.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.0115, allocations: 103.1 kB / 329.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.639e-05/0.01157, allocations: 70.11 kB / 330 MB, free: 10.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.01166, allocations: 342.8 kB / 330.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.01177, allocations: 88.7 kB / 330.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.01194, allocations: 251.2 kB / 330.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.01224, allocations: 323.1 kB / 331 MB, free: 9.367 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.01224, allocations: 8 kB / 331 MB, free: 9.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004213/0.01267, allocations: 404.5 kB / 331.4 MB, free: 8.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.01268, allocations: 12.03 kB / 331.4 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01268, allocations: 7.938 kB / 331.4 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.01286, allocations: 88.77 kB / 331.5 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.01298, allocations: 59.91 kB / 331.5 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.01433, allocations: 1.879 MB / 333.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.01444, allocations: 31.83 kB / 333.5 MB, free: 6.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.01446, allocations: 24 kB / 333.5 MB, free: 6.734 MB / 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.0001223/0.01458, allocations: 164.9 kB / 333.6 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.01461, allocations: 39.75 kB / 333.7 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.01465, allocations: 43.03 kB / 333.7 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01466, allocations: 8.062 kB / 333.7 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.01466, allocations: 3.938 kB / 333.7 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01466, allocations: 0 / 333.7 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.01504, allocations: 0.4982 MB / 334.2 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01504, allocations: 0 / 334.2 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.953e-05/0.01514, allocations: 31.98 kB / 334.3 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001326/0.01527, allocations: 76.8 kB / 334.3 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.01529, allocations: 8 kB / 334.3 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.01635, allocations: 1.891 MB / 336.2 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01635, allocations: 3.984 kB / 336.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.01691, allocations: 0.4921 MB / 336.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.649e-05/0.01698, allocations: 55.67 kB / 336.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.01701, allocations: 11.94 kB / 336.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.0171, allocations: 15.98 kB / 336.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.01715, allocations: 27.89 kB / 336.8 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.01717, allocations: 15.98 kB / 336.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.01731, allocations: 203.1 kB / 337.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01731, allocations: 4 kB / 337.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.01761, allocations: 111.8 kB / 337.2 MB, free: 2.844 MB / 298.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.0007599/0.01837, allocations: 1.052 MB / 338.2 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004611/0.01883, allocations: 398.4 kB / 338.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01883, allocations: 0 / 338.6 MB, free: 1.355 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.01905, allocations: 262.5 kB / 338.9 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.01928, allocations: 68.31 kB / 338.9 MB, free: 1.023 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.02223, allocations: 3.393 MB / 342.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.02235, allocations: 207.1 kB / 342.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.738e-05/0.02242, allocations: 39.23 kB / 342.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.02253, allocations: 120.5 kB / 342.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02253, allocations: 0 / 342.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.04283, allocations: 8.966 MB / 351.7 MB, free: 4.363 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.915/7.958, allocations: 4.062 kB / 351.7 MB, free: 4.359 MB / 314.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.541165254078805]