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.0008651/0.0008654, allocations: 91.88 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009921/0.0009922, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000249/0.000249, allocations: 8 kB / 307.8 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.09933, allocations: 51.52 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004179/0.1036, allocations: 3.342 MB / 362.6 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1057, allocations: 1.06 MB / 363.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.106, allocations: 15.94 kB / 363.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.1063, allocations: 87.39 kB / 363.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007742/0.1071, allocations: 203 kB / 364 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1075, allocations: 139.8 kB / 364.1 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.1087, allocations: 1.07 MB / 365.2 MB, free: 7.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000727/0.1094, allocations: 0.5173 MB / 365.7 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005286/0.11, allocations: 310.6 kB / 366 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006094/0.1106, allocations: 426 kB / 366.4 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.1107, allocations: 44 kB / 366.5 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.1109, allocations: 44 kB / 366.5 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.1111, allocations: 215.2 kB / 366.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004786/0.1116, allocations: 427.5 kB / 367.1 MB, free: 5.359 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.1127, allocations: 1.207 MB / 368.3 MB, free: 4.148 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1127, allocations: 4 kB / 368.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1127, allocations: 0 / 368.4 MB, free: 4.145 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.433e-05/0.1128, allocations: 0 / 368.4 MB, free: 4.145 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.00203/0.1148, allocations: 1.037 MB / 369.4 MB, free: 3.059 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1148, allocations: 12.02 kB / 369.4 MB, free: 3.047 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005159/0.1154, allocations: 127.8 kB / 369.5 MB, free: 2.922 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009744/0.1164, allocations: 0.6413 MB / 370.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.1164, allocations: 49.25 kB / 370.2 MB, free: 2.191 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.1166, allocations: 68 kB / 370.3 MB, free: 2.125 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/0.1181, allocations: 0.9266 MB / 371.2 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.1182, allocations: 0 / 371.2 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/0.1182, allocations: 28 kB / 371.2 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/0.1183, allocations: 33.3 kB / 371.3 MB, free: 1.117 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.1197, allocations: 0.8053 MB / 372.1 MB, free: 316 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1831/0.3028, allocations: 2.832 MB / 374.9 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009594/0.3038, allocations: 0.7577 MB / 375.7 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006778/0.3045, allocations: 361 kB / 376 MB, free: 17.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.3045, allocations: 8.938 kB / 376 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006205/0.3052, allocations: 389 kB / 376.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.364e-06/0.3052, allocations: 0 / 376.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003045/0.3082, allocations: 1.253 MB / 377.7 MB, free: 17.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/0.3083, allocations: 117.3 kB / 377.8 MB, free: 16.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009787/0.3093, allocations: 0.5831 MB / 378.4 MB, free: 16.74 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.3094, allocations: 38.12 kB / 378.4 MB, free: 16.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/0.3097, allocations: 360.3 kB / 378.7 MB, free: 16.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.3099, allocations: 141.8 kB / 378.9 MB, free: 16.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.736e-05/0.31, allocations: 47.5 kB / 378.9 MB, free: 16.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3102, allocations: 367.6 kB / 379.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.3107, allocations: 226.8 kB / 379.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.3113, allocations: 361.4 kB / 379.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009882/0.3123, allocations: 0.5853 MB / 380.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.3123, allocations: 1.281 kB / 380.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001553/0.3138, allocations: 0.7663 MB / 381.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.3139, allocations: 6.781 kB / 381.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.3139, allocations: 4.688 kB / 381.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005496/0.3144, allocations: 213 kB / 381.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.3148, allocations: 74.14 kB / 381.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.3181, allocations: 2.772 MB / 384.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/0.3186, allocations: 61.19 kB / 384.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-05/0.3187, allocations: 22.52 kB / 384.4 MB, free: 12.89 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_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.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 (43): * Single equations (assignments): 42 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006823/0.3194, allocations: 336 kB / 384.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3195, allocations: 60.42 kB / 384.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.3196, allocations: 66.98 kB / 384.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.3196, allocations: 5.062 kB / 384.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.3197, allocations: 1.188 kB / 384.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.3197, allocations: 1.828 kB / 384.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/0.3229, allocations: 1.766 MB / 386.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3229, allocations: 0 / 386.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.3232, allocations: 53.58 kB / 386.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004937/0.3237, allocations: 199.5 kB / 386.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.3237, allocations: 8.469 kB / 386.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002878/0.3266, allocations: 2.647 MB / 389.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3266, allocations: 3.938 kB / 389.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.3284, allocations: 1.167 MB / 390.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.3286, allocations: 192.2 kB / 390.8 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.3287, allocations: 19.17 kB / 390.9 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.329, allocations: 23.3 kB / 390.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.3291, allocations: 43.17 kB / 390.9 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.3291, allocations: 14.09 kB / 390.9 MB, free: 8.859 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005438/0.3297, allocations: 431.2 kB / 391.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.002e-06/0.3297, allocations: 3.938 kB / 391.4 MB, free: 8.605 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008067/0.3305, allocations: 207.2 kB / 391.6 MB, free: 8.555 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 (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.0001527/0.3307, allocations: 121.5 kB / 391.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.3319, allocations: 0.7346 MB / 392.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3319, allocations: 3.844 kB / 392.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000677/0.3326, allocations: 480.8 kB / 392.9 MB, free: 7.719 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007434/0.3334, allocations: 146.5 kB / 393 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.3361, allocations: 1.907 MB / 394.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.3366, allocations: 1.074 MB / 396 MB, free: 5.504 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002625/0.3369, allocations: 97.34 kB / 396.1 MB, free: 5.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.849e-05/0.337, allocations: 35.66 kB / 396.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.337, allocations: 0 / 396.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of Templates: time 0.01479/0.3518, allocations: 9.412 MB / 405.6 MB, free: 14.2 MB / 318.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