Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007699/0.00077, allocations: 99.81 kB / 17.01 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008897/0.0008897, allocations: 194.4 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.7 MB / 246.4 MB, free: 9.797 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002293/0.0002294, allocations: 8 kB / 307.1 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09311/0.09336, allocations: 51.52 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003935/0.09736, allocations: 3.194 MB / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.09924, allocations: 1.037 MB / 362.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.09954, allocations: 11.94 kB / 362.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.09978, allocations: 75.41 kB / 363 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006551/0.1004, allocations: 202.9 kB / 363.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.1008, allocations: 107.8 kB / 363.3 MB, free: 8.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.1019, allocations: 0.9768 MB / 364.2 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007136/0.1026, allocations: 433.1 kB / 364.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006544/0.1033, allocations: 314.7 kB / 365 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006935/0.104, allocations: 406.3 kB / 365.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.1041, allocations: 43.98 kB / 365.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.1044, allocations: 48 kB / 365.5 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.1046, allocations: 207.3 kB / 365.7 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.1049, allocations: 185.3 kB / 365.8 MB, free: 6.168 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009521/0.1058, allocations: 1.021 MB / 366.9 MB, free: 5.145 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1058, allocations: 0 / 366.9 MB, free: 5.145 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1059, allocations: 4 kB / 366.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.426e-05/0.1059, allocations: 3.938 kB / 366.9 MB, free: 5.137 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001836/0.1077, allocations: 1.033 MB / 367.9 MB, free: 4.051 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1078, allocations: 12.03 kB / 367.9 MB, free: 4.039 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000445/0.1082, allocations: 130.8 kB / 368 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008729/0.1091, allocations: 0.6247 MB / 368.7 MB, free: 3.246 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/0.1092, allocations: 49.31 kB / 368.7 MB, free: 3.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.1093, allocations: 60 kB / 368.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.1108, allocations: 0.9267 MB / 369.7 MB, free: 2.188 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.1108, allocations: 0 / 369.7 MB, free: 2.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.038e-05/0.1109, allocations: 28 kB / 369.7 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.1109, allocations: 33.23 kB / 369.8 MB, free: 2.129 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.1123, allocations: 0.8053 MB / 370.6 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1723/0.2846, allocations: 2.82 MB / 373.4 MB, free: 17.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008886/0.2855, allocations: 0.764 MB / 374.2 MB, free: 17.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006635/0.2862, allocations: 357 kB / 374.5 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.2863, allocations: 6.562 kB / 374.5 MB, free: 17.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006772/0.2869, allocations: 389.9 kB / 374.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.2869, allocations: 0 / 374.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002835/0.2898, allocations: 1.237 MB / 376.1 MB, free: 16.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.2898, allocations: 114.2 kB / 376.2 MB, free: 16.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006925/0.2905, allocations: 0.586 MB / 376.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.2906, allocations: 41.3 kB / 376.9 MB, free: 16.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.2908, allocations: 356.2 kB / 377.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.312e-05/0.2909, allocations: 141.3 kB / 377.4 MB, free: 16.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.2909, allocations: 10.75 kB / 377.4 MB, free: 16.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.291, allocations: 363.8 kB / 377.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.2914, allocations: 230.4 kB / 377.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.2918, allocations: 362 kB / 378.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.2922, allocations: 246.8 kB / 378.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2922, allocations: 1.469 kB / 378.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001185/0.2934, allocations: 0.7763 MB / 379.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.2934, allocations: 6.25 kB / 379.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.2935, allocations: 3.781 kB / 379.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005102/0.294, allocations: 204.5 kB / 379.5 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.2943, allocations: 80.58 kB / 379.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/0.2971, allocations: 2.771 MB / 382.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.2974, allocations: 60.08 kB / 382.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.2975, allocations: 21.17 kB / 382.5 MB, free: 13.04 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 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003987/0.2979, allocations: 327.2 kB / 382.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.298, allocations: 57.27 kB / 382.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.2981, allocations: 71.34 kB / 382.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2981, allocations: 7.859 kB / 382.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2981, allocations: 5.75 kB / 382.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.2981, allocations: 4.922 kB / 382.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.3007, allocations: 1.75 MB / 384.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3007, allocations: 2.781 kB / 384.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.301, allocations: 52.8 kB / 384.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004056/0.3014, allocations: 199.4 kB / 384.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.3015, allocations: 11.75 kB / 384.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00235/0.3038, allocations: 2.637 MB / 387.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3038, allocations: 3.094 kB / 387.6 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.3055, allocations: 1.164 MB / 388.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.3057, allocations: 196.4 kB / 388.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.3058, allocations: 8.078 kB / 388.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.3061, allocations: 26.53 kB / 389 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.3062, allocations: 53.44 kB / 389 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.3063, allocations: 17.25 kB / 389 MB, free: 9.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004615/0.3067, allocations: 423 kB / 389.4 MB, free: 9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3067, allocations: 0 / 389.4 MB, free: 9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000718/0.3075, allocations: 206.8 kB / 389.6 MB, free: 8.949 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001393/0.3076, allocations: 126.3 kB / 389.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.3087, allocations: 0.7398 MB / 390.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3087, allocations: 0.7031 kB / 390.5 MB, free: 8.508 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005883/0.3093, allocations: 479.6 kB / 391 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.31, allocations: 141.4 kB / 391.1 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.3124, allocations: 1.831 MB / 392.9 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.3129, allocations: 1.077 MB / 394 MB, free: 6.188 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002621/0.3131, allocations: 96.88 kB / 394.1 MB, free: 6.152 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.627e-05/0.3132, allocations: 40.31 kB / 394.2 MB, free: 6.141 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3132, allocations: 0 / 394.2 MB, free: 6.141 MB / 302.1 MB Notification: Performance of Templates: time 0.01267/0.3259, allocations: 9.166 MB / 403.3 MB, free: 108 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches