Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 62.73 kB / 308.4 MB, free: 15.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1083, allocations: 50.53 MB / 358.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005066/0.1134, allocations: 3.477 MB / 362.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.1152, allocations: 0.9386 MB / 363.3 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.1154, allocations: 11.94 kB / 363.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.1157, allocations: 59.31 kB / 363.4 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.1161, allocations: 126.8 kB / 363.5 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.1164, allocations: 163.7 kB / 363.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.117, allocations: 0.5136 MB / 364.2 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000366/0.1174, allocations: 185.8 kB / 364.4 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.1177, allocations: 203.2 kB / 364.6 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.118, allocations: 222.9 kB / 364.8 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.1181, allocations: 44 kB / 364.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.1182, allocations: 56 kB / 364.9 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.59e-05/0.1183, allocations: 99.67 kB / 365 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.1185, allocations: 242.7 kB / 365.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005332/0.119, allocations: 0.541 MB / 365.8 MB, free: 6.398 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.119, allocations: 0 / 365.8 MB, free: 6.398 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.119, allocations: 0 / 365.8 MB, free: 6.398 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1191, allocations: 0 / 365.8 MB, free: 6.398 MB / 302.1 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.00119/0.1202, allocations: 0.7417 MB / 366.5 MB, free: 5.605 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1203, allocations: 8.031 kB / 366.5 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/0.1206, allocations: 64.36 kB / 366.6 MB, free: 5.535 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.121, allocations: 364.2 kB / 366.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.1211, allocations: 29.38 kB / 367 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.1211, allocations: 36.38 kB / 367 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/0.1218, allocations: 396 kB / 367.4 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.1218, allocations: 0 / 367.4 MB, free: 4.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.1219, allocations: 16 kB / 367.4 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.1219, allocations: 12 kB / 367.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.1224, allocations: 267.8 kB / 367.7 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002252/0.1247, allocations: 1.492 MB / 369.2 MB, free: 2.789 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.1251, allocations: 243.5 kB / 369.4 MB, free: 2.547 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.1255, allocations: 176.6 kB / 369.6 MB, free: 2.375 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.1255, allocations: 8.219 kB / 369.6 MB, free: 2.367 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003712/0.1259, allocations: 230 kB / 369.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.863e-06/0.1259, allocations: 0 / 369.8 MB, free: 2.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001476/0.1274, allocations: 0.5856 MB / 370.4 MB, free: 1.508 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.1275, allocations: 110.8 kB / 370.5 MB, free: 1.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.1278, allocations: 312.5 kB / 370.8 MB, free: 1.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.1278, allocations: 33.7 kB / 370.8 MB, free: 1.031 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.128, allocations: 220.4 kB / 371.1 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.443e-05/0.1281, allocations: 102.5 kB / 371.2 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.1282, allocations: 66.02 kB / 371.2 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1283, allocations: 350.8 kB / 371.6 MB, free: 292 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.1285, allocations: 88.7 kB / 371.6 MB, free: 204 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1539/0.2824, allocations: 217.5 kB / 371.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006292/0.2831, allocations: 330.1 kB / 372.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.2831, allocations: 2.594 kB / 372.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008825/0.284, allocations: 416 kB / 372.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.284, allocations: 7.75 kB / 372.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.284, allocations: 4.812 kB / 372.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000318/0.2843, allocations: 86.23 kB / 372.7 MB, free: 19.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.2846, allocations: 59.02 kB / 372.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.2862, allocations: 1.999 MB / 374.7 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.2864, allocations: 39.67 kB / 374.8 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.2865, allocations: 13.81 kB / 374.8 MB, free: 18.2 MB / 302.1 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_n.off,rectifier.diode_p.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.0001985/0.2867, allocations: 174.1 kB / 375 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.2868, allocations: 39.19 kB / 375 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.603e-05/0.2868, allocations: 38.73 kB / 375 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.2868, allocations: 4.312 kB / 375 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.2869, allocations: 3.828 kB / 375.1 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.2869, allocations: 6.578 kB / 375.1 MB, free: 18.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006411/0.2875, allocations: 0.5752 MB / 375.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2875, allocations: 4.359 kB / 375.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.2877, allocations: 32.72 kB / 375.7 MB, free: 17.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/0.2879, allocations: 79.02 kB / 375.7 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.288, allocations: 12.12 kB / 375.8 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.2895, allocations: 1.986 MB / 377.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2895, allocations: 7.516 kB / 377.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/0.2903, allocations: 0.4895 MB / 378.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.2904, allocations: 136.8 kB / 378.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.2905, allocations: 7.5 kB / 378.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2907, allocations: 14.48 kB / 378.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.2908, allocations: 28.5 kB / 378.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.2908, allocations: 14.27 kB / 378.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.291, allocations: 216.1 kB / 378.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.291, allocations: 3.938 kB / 378.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004804/0.2915, allocations: 114.6 kB / 378.8 MB, free: 15.35 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.0001161/0.2916, allocations: 114.7 kB / 378.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000701/0.2923, allocations: 429.3 kB / 379.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2923, allocations: 1.5 kB / 379.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.2927, allocations: 290.5 kB / 379.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.293, allocations: 56.33 kB / 379.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.2942, allocations: 0.7076 MB / 380.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.2944, allocations: 0.8191 MB / 381.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.2946, allocations: 36.62 kB / 381.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.2947, allocations: 25.94 kB / 381.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2947, allocations: 0 / 381.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of Templates: time 0.009708/0.3044, allocations: 4.849 MB / 386.1 MB, free: 13.29 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/DiodeCenterTap2Pulse/DiodeCenterTap2Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches