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.001031/0.001031, allocations: 91.45 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 201.3 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.7 MB / 247.5 MB, free: 9.676 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000239/0.0002392, allocations: 8 kB / 308.4 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.105, allocations: 51.53 MB / 359.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003497/0.1085, allocations: 3.133 MB / 363.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.1102, allocations: 0.8998 MB / 364 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003309/0.1106, allocations: 11.94 kB / 364 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.1108, allocations: 43.62 kB / 364 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.1112, allocations: 115.1 kB / 364.1 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.1116, allocations: 139.8 kB / 364.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006349/0.1123, allocations: 0.4902 MB / 364.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.1126, allocations: 153.6 kB / 364.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003106/0.1129, allocations: 175.2 kB / 365.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003124/0.1132, allocations: 179 kB / 365.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.468e-05/0.1133, allocations: 23.94 kB / 365.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1134, allocations: 31.98 kB / 365.3 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-05/0.1135, allocations: 67.69 kB / 365.4 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.1137, allocations: 240.4 kB / 365.6 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.1141, allocations: 402.8 kB / 366 MB, free: 6.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1141, allocations: 0 / 366 MB, free: 6.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1141, allocations: 0 / 366 MB, free: 6.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.1141, allocations: 0 / 366 MB, free: 6.945 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.001168/0.1153, allocations: 0.6716 MB / 366.7 MB, free: 6.223 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1153, allocations: 8.031 kB / 366.7 MB, free: 6.215 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.1156, allocations: 72.36 kB / 366.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.1161, allocations: 356 kB / 367.1 MB, free: 5.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.1161, allocations: 33.38 kB / 367.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.1162, allocations: 40.38 kB / 367.2 MB, free: 5.691 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006722/0.1169, allocations: 392 kB / 367.6 MB, free: 5.289 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1169, allocations: 0 / 367.6 MB, free: 5.289 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/0.117, allocations: 16 kB / 367.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.117, allocations: 12 kB / 367.6 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.1175, allocations: 267.8 kB / 367.8 MB, free: 5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.1196, allocations: 1.531 MB / 369.4 MB, free: 3.367 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.1201, allocations: 243.5 kB / 369.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.1205, allocations: 173.2 kB / 369.8 MB, free: 2.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.1205, allocations: 4.234 kB / 369.8 MB, free: 2.945 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003954/0.1209, allocations: 230 kB / 370 MB, free: 2.699 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.1209, allocations: 0 / 370 MB, free: 2.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001502/0.1224, allocations: 0.6005 MB / 370.6 MB, free: 2.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.1225, allocations: 110.8 kB / 370.7 MB, free: 1.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.1228, allocations: 308.5 kB / 371 MB, free: 1.637 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.1229, allocations: 37.7 kB / 371.1 MB, free: 1.594 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.123, allocations: 216.4 kB / 371.3 MB, free: 1.379 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.38e-05/0.1231, allocations: 98.55 kB / 371.4 MB, free: 1.281 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.1232, allocations: 45.69 kB / 371.4 MB, free: 1.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1233, allocations: 342.8 kB / 371.7 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1235, allocations: 92.72 kB / 371.8 MB, free: 0.793 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.1238, allocations: 233.7 kB / 372.1 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.1243, allocations: 338.3 kB / 372.4 MB, free: 128 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1243, allocations: 0 / 372.4 MB, free: 128 kB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.1665/0.2908, allocations: 412 kB / 372.8 MB, free: 18.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.2908, allocations: 6.906 kB / 372.8 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.2909, allocations: 4.031 kB / 372.8 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003589/0.2912, allocations: 90.66 kB / 372.9 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.2915, allocations: 60.44 kB / 372.9 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.2933, allocations: 1.81 MB / 374.8 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.2937, allocations: 41.55 kB / 374.8 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.2937, allocations: 16.73 kB / 374.8 MB, free: 17.45 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.000236/0.294, allocations: 175.2 kB / 375 MB, free: 17.33 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.784e-05/0.2941, allocations: 34.72 kB / 375 MB, free: 17.33 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.056e-05/0.2942, allocations: 41.55 kB / 375.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.2942, allocations: 4.125 kB / 375.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2942, allocations: 0 / 375.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.2942, allocations: 6.672 kB / 375.1 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007296/0.2949, allocations: 0.5755 MB / 375.6 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2949, allocations: 0.5156 kB / 375.6 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.2951, allocations: 32.12 kB / 375.7 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002447/0.2954, allocations: 81.88 kB / 375.8 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.2954, allocations: 12.03 kB / 375.8 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.297, allocations: 1.793 MB / 377.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2971, allocations: 0.5625 kB / 377.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009739/0.298, allocations: 0.5092 MB / 378.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.2982, allocations: 133.4 kB / 378.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.2982, allocations: 17.77 kB / 378.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.2984, allocations: 16.97 kB / 378.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/0.2985, allocations: 30.05 kB / 378.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.2986, allocations: 9.547 kB / 378.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002504/0.2988, allocations: 217.9 kB / 378.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2988, allocations: 2.562 kB / 378.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005526/0.2994, allocations: 112.8 kB / 378.6 MB, free: 15.27 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.000146/0.2995, allocations: 123.1 kB / 378.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008578/0.3004, allocations: 435.1 kB / 379.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.3004, allocations: 0 / 379.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.3009, allocations: 292.1 kB / 379.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.3013, allocations: 56.88 kB / 379.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.3027, allocations: 0.9487 MB / 380.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.303, allocations: 0.8192 MB / 381.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.562e-05/0.3031, allocations: 27.33 kB / 381.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3031, allocations: 0 / 381.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of Templates: time 0.0118/0.3149, allocations: 6.061 MB / 387.3 MB, free: 12.18 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 -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