Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001198/0.001197, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001138/0.001139, allocations: 191 kB / 18.63 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 55.25 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1196, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005636/0.1252, allocations: 3.655 MB / 355.2 MB, free: 0 / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.1272, allocations: 1.005 MB / 356.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/0.1275, allocations: 19.94 kB / 356.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.1277, allocations: 107.1 kB / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007107/0.1285, allocations: 222.7 kB / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.1288, allocations: 143.7 kB / 356.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000941/0.1297, allocations: 0.9495 MB / 357.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007024/0.1304, allocations: 0.5965 MB / 358.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.1308, allocations: 414.6 kB / 358.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006191/0.1315, allocations: 0.4902 MB / 359.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.1316, allocations: 104 kB / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1317, allocations: 100 kB / 359.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.132, allocations: 271.2 kB / 359.6 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.1324, allocations: 477.8 kB / 360 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.1335, allocations: 1.281 MB / 361.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1336, allocations: 0 / 361.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1336, allocations: 3.938 kB / 361.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1336, allocations: 0 / 361.3 MB, free: 9.824 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.002092/0.1357, allocations: 1.177 MB / 362.5 MB, free: 8.594 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1357, allocations: 11.97 kB / 362.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.1359, allocations: 91.81 kB / 362.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009801/0.1369, allocations: 0.6237 MB / 363.2 MB, free: 7.828 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/0.137, allocations: 53.23 kB / 363.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.1371, allocations: 68 kB / 363.3 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.1385, allocations: 0.9189 MB / 364.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.1385, allocations: 0 / 364.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.527e-05/0.1386, allocations: 31.94 kB / 364.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/0.1386, allocations: 33.3 kB / 364.3 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.1399, allocations: 0.7936 MB / 365.1 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.1438, allocations: 2.776 MB / 367.9 MB, free: 3.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008521/0.1446, allocations: 0.7491 MB / 368.6 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005463/0.1452, allocations: 345.1 kB / 369 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.1452, allocations: 4.328 kB / 369 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005843/0.1458, allocations: 389.8 kB / 369.4 MB, free: 1.473 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.1459, allocations: 0 / 369.4 MB, free: 1.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.002715/0.1486, allocations: 1.228 MB / 370.6 MB, free: 220 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/0.1487, allocations: 110.8 kB / 370.7 MB, free: 84 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2104/0.3591, allocations: 0.5628 MB / 371.3 MB, free: 25.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001983/0.3593, allocations: 38.77 kB / 371.3 MB, free: 25.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/0.3598, allocations: 359.2 kB / 371.7 MB, free: 25.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.36, allocations: 137 kB / 371.8 MB, free: 25.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.3602, allocations: 91.8 kB / 371.9 MB, free: 25.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3604, allocations: 364.6 kB / 372.2 MB, free: 25.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000615/0.361, allocations: 221 kB / 372.5 MB, free: 25.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/0.3617, allocations: 360.6 kB / 372.8 MB, free: 25.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.3628, allocations: 0.5655 MB / 373.4 MB, free: 24.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/0.3629, allocations: 2.156 kB / 373.4 MB, free: 24.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001918/0.3648, allocations: 0.7599 MB / 374.1 MB, free: 24.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.3648, allocations: 7.469 kB / 374.1 MB, free: 24.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.3649, allocations: 5.469 kB / 374.1 MB, free: 24.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000781/0.3657, allocations: 203.6 kB / 374.3 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.3661, allocations: 72.92 kB / 374.4 MB, free: 24.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004449/0.3706, allocations: 3.032 MB / 377.4 MB, free: 22.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/0.3712, allocations: 52.72 kB / 377.5 MB, free: 22.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.3712, allocations: 25.28 kB / 377.5 MB, free: 22.23 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.0006394/0.3719, allocations: 329.4 kB / 377.8 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.372, allocations: 55.5 kB / 377.9 MB, free: 21.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.3722, allocations: 69.36 kB / 378 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.3722, allocations: 4.125 kB / 378 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3722, allocations: 2.25 kB / 378 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3722, allocations: 2.297 kB / 378 MB, free: 21.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003592/0.3758, allocations: 1.749 MB / 379.7 MB, free: 21.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.3759, allocations: 2.203 kB / 379.7 MB, free: 21.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.3762, allocations: 50.67 kB / 379.8 MB, free: 21.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006152/0.3768, allocations: 192.3 kB / 380 MB, free: 21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.875e-05/0.3769, allocations: 17.59 kB / 380 MB, free: 20.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003964/0.3809, allocations: 2.908 MB / 382.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3809, allocations: 2.656 kB / 382.9 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.3835, allocations: 1.143 MB / 384 MB, free: 18.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/0.3839, allocations: 187.7 kB / 384.2 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.384, allocations: 12.3 kB / 384.2 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000388/0.3844, allocations: 25.11 kB / 384.3 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.3847, allocations: 47.59 kB / 384.3 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.3847, allocations: 15.69 kB / 384.3 MB, free: 18.19 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007935/0.3855, allocations: 414.2 kB / 384.7 MB, free: 18.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3855, allocations: 2.516 kB / 384.7 MB, free: 18.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001101/0.3867, allocations: 206.3 kB / 384.9 MB, free: 17.96 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.0002253/0.3869, allocations: 121 kB / 385 MB, free: 17.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.3883, allocations: 0.7278 MB / 385.8 MB, free: 17.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.3883, allocations: 2.094 kB / 385.8 MB, free: 17.53 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006911/0.389, allocations: 478.6 kB / 386.2 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007237/0.3897, allocations: 146.9 kB / 386.4 MB, free: 17.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.3928, allocations: 1.536 MB / 387.9 MB, free: 16.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/0.3935, allocations: 1.07 MB / 389 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003388/0.3938, allocations: 93.3 kB / 389.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.394, allocations: 43.55 kB / 389.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of SimCode: time 1.162e-06/0.394, allocations: 0 / 389.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of Templates: time 0.02603/0.42, allocations: 10.04 MB / 399.2 MB, free: 9.402 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches