Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001219/0.001219, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.00487/0.00487, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8309/0.8309, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 298.5 MB, free: 3.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.964e-05, allocations: 6.219 kB / 298.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003725/0.003744, allocations: 3.133 MB / 301.6 MB, free: 336 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1045/0.1083, allocations: 0.852 MB / 302.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.1084, allocations: 8.625 kB / 302.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.1086, allocations: 67.05 kB / 302.5 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1088, allocations: 133.2 kB / 302.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.1091, allocations: 137 kB / 302.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.1094, allocations: 0.5253 MB / 303.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.1096, allocations: 117.8 kB / 303.4 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.1099, allocations: 298.2 kB / 303.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.1101, allocations: 158.1 kB / 303.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.651e-05/0.1102, allocations: 44.81 kB / 303.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.318e-05/0.1102, allocations: 45 kB / 304 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.1103, allocations: 104.8 kB / 304.1 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1104, allocations: 157 kB / 304.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.1108, allocations: 0.5282 MB / 304.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1108, allocations: 1.844 kB / 304.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1108, allocations: 0 / 304.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1108, allocations: 0 / 304.7 MB, free: 12.71 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.000948/0.1118, allocations: 0.7531 MB / 305.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1118, allocations: 12.45 kB / 305.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.1118, allocations: 70.66 kB / 305.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/0.1119, allocations: 49.67 kB / 305.6 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.1122, allocations: 290 kB / 305.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1122, allocations: 27.66 kB / 305.9 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.1123, allocations: 38.25 kB / 306 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.1127, allocations: 408.2 kB / 306.4 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1127, allocations: 4.125 kB / 306.4 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.1127, allocations: 20.98 kB / 306.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1127, allocations: 8.469 kB / 306.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.113, allocations: 258.6 kB / 306.7 MB, free: 11.51 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.1143, allocations: 1.326 MB / 308 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.1146, allocations: 210.1 kB / 308.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.1148, allocations: 151.9 kB / 308.3 MB, free: 10.4 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1149, allocations: 8.516 kB / 308.4 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003017/0.1152, allocations: 249.7 kB / 308.6 MB, free: 10.24 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.623e-06/0.1152, allocations: 0 / 308.6 MB, free: 10.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009114/0.1161, allocations: 0.508 MB / 309.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.1161, allocations: 112.7 kB / 309.2 MB, free: 9.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.1163, allocations: 296.4 kB / 309.5 MB, free: 9.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1163, allocations: 32.83 kB / 309.5 MB, free: 9.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.1164, allocations: 221.6 kB / 309.8 MB, free: 9.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.1165, allocations: 101.1 kB / 309.9 MB, free: 9.457 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.791e-05/0.1165, allocations: 72.31 kB / 309.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.1166, allocations: 339.6 kB / 310.3 MB, free: 9.086 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.1167, allocations: 92.41 kB / 310.3 MB, free: 9.055 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.1169, allocations: 250.9 kB / 310.6 MB, free: 8.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.1172, allocations: 325.7 kB / 310.9 MB, free: 8.582 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1172, allocations: 1.188 kB / 310.9 MB, free: 8.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000457/0.1176, allocations: 399.2 kB / 311.3 MB, free: 8.402 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1176, allocations: 10.53 kB / 311.3 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1176, allocations: 5.797 kB / 311.3 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/0.1179, allocations: 92.09 kB / 311.4 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.118, allocations: 59.27 kB / 311.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.1191, allocations: 1.881 MB / 313.3 MB, free: 6.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.1192, allocations: 40.64 kB / 313.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.1192, allocations: 17.47 kB / 313.4 MB, free: 6.68 MB / 282.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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.0001028/0.1193, allocations: 165.5 kB / 313.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.1194, allocations: 36.23 kB / 313.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.1194, allocations: 39.36 kB / 313.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1194, allocations: 7.469 kB / 313.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1194, allocations: 1.344 kB / 313.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1194, allocations: 5.453 kB / 313.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.1198, allocations: 0.4916 MB / 314.1 MB, free: 6.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1198, allocations: 0 / 314.1 MB, free: 6.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.282e-05/0.1199, allocations: 38 kB / 314.2 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/0.12, allocations: 75.72 kB / 314.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.12, allocations: 7 kB / 314.3 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008462/0.1209, allocations: 1.875 MB / 316.1 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1209, allocations: 2.25 kB / 316.1 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000551/0.1214, allocations: 0.4981 MB / 316.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.1215, allocations: 62.31 kB / 316.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1215, allocations: 8.547 kB / 316.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.1216, allocations: 13.59 kB / 316.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.1217, allocations: 29.89 kB / 316.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.1217, allocations: 18.39 kB / 316.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1218, allocations: 207.5 kB / 317 MB, free: 3.984 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1218, allocations: 0 / 317 MB, free: 3.984 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.1221, allocations: 113.7 kB / 317.1 MB, free: 3.957 MB / 282.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,rootMeanSquareVoltage.mean.y,meanVoltage.y,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.000646/0.1228, allocations: 1.043 MB / 318.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004675/0.1232, allocations: 400.4 kB / 318.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1232, allocations: 1.469 kB / 318.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.1235, allocations: 271.2 kB / 318.8 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.1237, allocations: 68.09 kB / 318.8 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.1263, allocations: 3.376 MB / 322.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.1265, allocations: 197.7 kB / 322.4 MB, free: 428 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.87e-05/0.1266, allocations: 33.48 kB / 322.4 MB, free: 420 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.1267, allocations: 125.4 kB / 322.6 MB, free: 324 kB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1267, allocations: 0 / 322.6 MB, free: 324 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.1477, allocations: 8.967 MB / 331.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.251, allocations: 9.344 kB / 331.5 MB, free: 12.09 MB / 298.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.78636584803462]