Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 107.3 kB / 18.35 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 192 kB / 19.29 MB, free: 3.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 51.92 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.09984, allocations: 46.62 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005135/0.105, allocations: 3.628 MB / 332.4 MB, free: 96 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.107, allocations: 1.045 MB / 333.4 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002174/0.1072, allocations: 11.94 kB / 333.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.1075, allocations: 107.1 kB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00068/0.1082, allocations: 222.7 kB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.1085, allocations: 151.7 kB / 333.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.1096, allocations: 0.9612 MB / 334.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006749/0.1102, allocations: 0.553 MB / 335.4 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004818/0.1107, allocations: 398.7 kB / 335.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006485/0.1114, allocations: 0.4903 MB / 336.3 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.1115, allocations: 103.9 kB / 336.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1117, allocations: 100 kB / 336.5 MB, free: 11.95 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002519/0.1119, allocations: 271.2 kB / 336.8 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004917/0.1124, allocations: 469.8 kB / 337.2 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.1136, allocations: 1.277 MB / 338.5 MB, free: 9.938 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1136, allocations: 0 / 338.5 MB, free: 9.938 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1136, allocations: 0 / 338.5 MB, free: 9.938 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.1136, allocations: 0 / 338.5 MB, free: 9.938 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002182/0.1158, allocations: 1.162 MB / 339.6 MB, free: 8.727 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1159, allocations: 8.031 kB / 339.7 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1161, allocations: 95.89 kB / 339.8 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009768/0.117, allocations: 0.5924 MB / 340.3 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/0.1171, allocations: 49.25 kB / 340.4 MB, free: 7.941 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.1172, allocations: 64 kB / 340.5 MB, free: 7.879 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.1187, allocations: 0.9111 MB / 341.4 MB, free: 6.945 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.1188, allocations: 4 kB / 341.4 MB, free: 6.941 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.1188, allocations: 24 kB / 341.4 MB, free: 6.918 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/0.1189, allocations: 33.3 kB / 341.4 MB, free: 6.887 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.1201, allocations: 0.7819 MB / 342.2 MB, free: 6.105 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004168/0.1243, allocations: 2.768 MB / 345 MB, free: 3.227 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/0.1253, allocations: 0.745 MB / 345.7 MB, free: 2.418 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005756/0.1258, allocations: 349.2 kB / 346.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.1259, allocations: 4.328 kB / 346.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006176/0.1265, allocations: 381.8 kB / 346.4 MB, free: 1.676 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.793e-06/0.1265, allocations: 0 / 346.4 MB, free: 1.676 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.00267/0.1292, allocations: 1.185 MB / 347.6 MB, free: 472 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.1293, allocations: 114.8 kB / 347.7 MB, free: 332 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/0.1301, allocations: 0.5606 MB / 348.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.1301, allocations: 41.69 kB / 348.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.1304, allocations: 351.9 kB / 348.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.1306, allocations: 142 kB / 348.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.1307, allocations: 86.25 kB / 348.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1309, allocations: 366.8 kB / 349.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.1313, allocations: 221 kB / 349.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.1319, allocations: 357.7 kB / 349.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008299/0.1327, allocations: 0.5652 MB / 350.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1327, allocations: 3.938 kB / 350.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00123/0.134, allocations: 0.7508 MB / 351.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.134, allocations: 8.5 kB / 351.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.134, allocations: 8 kB / 351.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004915/0.1345, allocations: 208.7 kB / 351.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.1348, allocations: 75.84 kB / 351.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/0.138, allocations: 2.924 MB / 354.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.1383, allocations: 55.64 kB / 354.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.1384, allocations: 20 kB / 354.4 MB, free: 9.312 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: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004352/0.1388, allocations: 325.5 kB / 354.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.1389, allocations: 55.34 kB / 354.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.1391, allocations: 73.27 kB / 354.9 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1391, allocations: 4 kB / 354.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1391, allocations: 0 / 354.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.1391, allocations: 7.938 kB / 354.9 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.1414, allocations: 1.617 MB / 356.5 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1414, allocations: 0 / 356.5 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.1417, allocations: 47.91 kB / 356.6 MB, free: 7.117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004128/0.1421, allocations: 204.9 kB / 356.8 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.1421, allocations: 15.98 kB / 356.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002957/0.1451, allocations: 2.916 MB / 359.7 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1451, allocations: 0 / 359.7 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.1467, allocations: 1.104 MB / 360.8 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.147, allocations: 192.4 kB / 361 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.435e-05/0.1471, allocations: 12 kB / 361 MB, free: 2.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.1474, allocations: 23.97 kB / 361 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.1475, allocations: 47.92 kB / 361.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.1476, allocations: 11.94 kB / 361.1 MB, free: 2.418 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004879/0.1481, allocations: 418.8 kB / 361.5 MB, free: 2.012 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1481, allocations: 4 kB / 361.5 MB, free: 2.008 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007239/0.1488, allocations: 207.3 kB / 361.7 MB, free: 1.805 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001417/0.149, allocations: 111.2 kB / 361.8 MB, free: 1.684 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.1502, allocations: 0.7244 MB / 362.5 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1502, allocations: 0 / 362.5 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000672/0.1509, allocations: 482.9 kB / 363 MB, free: 472 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006932/0.1516, allocations: 162.2 kB / 363.2 MB, free: 312 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.1542, allocations: 1.484 MB / 364.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.1548, allocations: 1.066 MB / 365.7 MB, free: 13.69 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002712/0.1551, allocations: 92.72 kB / 365.8 MB, free: 13.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.898e-05/0.1552, allocations: 39.44 kB / 365.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1552, allocations: 0 / 365.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of Templates: time 0.01615/0.1714, allocations: 10.01 MB / 375.8 MB, free: 3.547 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches