Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002518/0.002518, allocations: 188.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.37/3.37, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001622/0.001622, allocations: 102.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006204/0.0006206, allocations: 8 kB / 327 MB, free: 15.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1509, allocations: 47.58 MB / 374.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.008788/0.1598, allocations: 2.967 MB / 377.5 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004492/0.1643, allocations: 1.018 MB / 378.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006608/0.1651, allocations: 11.94 kB / 378.6 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.1657, allocations: 87.44 kB / 378.6 MB, free: 11.3 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFTyping.typeBindings: time 0.001825/0.1675, allocations: 203.4 kB / 378.8 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009178/0.1685, allocations: 95.78 kB / 378.9 MB, free: 11 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFFlatten.flatten: time 0.002312/0.1709, allocations: 0.5848 MB / 379.5 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.1723, allocations: 388.7 kB / 379.9 MB, free: 10.03 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.1734, allocations: 290.8 kB / 380.2 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.1749, allocations: 358.6 kB / 380.5 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002804/0.1752, allocations: 40 kB / 380.6 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.1756, allocations: 44 kB / 380.6 MB, free: 9.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004258/0.1761, allocations: 195.4 kB / 380.8 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004536/0.1766, allocations: 185.3 kB / 381 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.1789, allocations: 0.9936 MB / 382 MB, free: 7.938 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.179, allocations: 0 / 382 MB, free: 7.938 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.179, allocations: 4 kB / 382 MB, free: 7.934 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.418e-05/0.1791, allocations: 0 / 382 MB, free: 7.934 MB / 282.7 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.004936/0.1841, allocations: 1.025 MB / 383 MB, free: 6.855 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.79e-05/0.1842, allocations: 8.031 kB / 383 MB, free: 6.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000581/0.1848, allocations: 94.88 kB / 383.1 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.1871, allocations: 0.5721 MB / 383.7 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.1873, allocations: 49.27 kB / 383.7 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.1876, allocations: 64 kB / 383.8 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004347/0.192, allocations: 0.9033 MB / 384.7 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.325e-05/0.1922, allocations: 3.938 kB / 384.7 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.1923, allocations: 28 kB / 384.7 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/0.1925, allocations: 29.3 kB / 384.8 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004357/0.1969, allocations: 0.7936 MB / 385.5 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/0.2091, allocations: 2.807 MB / 388.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.2118, allocations: 0.7534 MB / 389.1 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-05/0.212, allocations: 4.328 kB / 389.1 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/0.2138, allocations: 381 kB / 389.5 MB, free: 116 kB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 5.891e-06/0.2138, allocations: 0 / 389.5 MB, free: 116 kB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.3751/0.5889, allocations: 1.2 MB / 390.7 MB, free: 20.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/0.5891, allocations: 92.12 kB / 390.8 MB, free: 20.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.5912, allocations: 0.564 MB / 391.3 MB, free: 20.39 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.5914, allocations: 37.08 kB / 391.4 MB, free: 20.36 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004823/0.5919, allocations: 384 kB / 391.8 MB, free: 20.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.5922, allocations: 140.3 kB / 391.9 MB, free: 20.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.5923, allocations: 5.25 kB / 391.9 MB, free: 20.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5925, allocations: 330.5 kB / 392.2 MB, free: 19.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.5937, allocations: 230.9 kB / 392.4 MB, free: 19.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.595, allocations: 361 kB / 392.8 MB, free: 19.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.5964, allocations: 258.8 kB / 393 MB, free: 19.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/0.5964, allocations: 1.438 kB / 393 MB, free: 19.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.003631/0.6001, allocations: 0.7285 MB / 393.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.6002, allocations: 9.656 kB / 393.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.6002, allocations: 4.25 kB / 393.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.6017, allocations: 199.5 kB / 394 MB, free: 19.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.6027, allocations: 80.17 kB / 394.1 MB, free: 19.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007748/0.6105, allocations: 2.734 MB / 396.8 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.6117, allocations: 57.64 kB / 396.9 MB, free: 17.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.292e-05/0.6118, allocations: 23.34 kB / 396.9 MB, free: 17.02 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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 (44): * Single equations (assignments): 43 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.001081/0.6129, allocations: 327.8 kB / 397.2 MB, free: 16.81 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.6132, allocations: 55.23 kB / 397.3 MB, free: 16.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.6135, allocations: 69.38 kB / 397.3 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.806e-05/0.6135, allocations: 4.156 kB / 397.3 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.6136, allocations: 1.688 kB / 397.3 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.6136, allocations: 2.016 kB / 397.3 MB, free: 16.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006293/0.6199, allocations: 1.535 MB / 398.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.62, allocations: 0 / 398.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008649/0.6209, allocations: 59.94 kB / 398.9 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.6222, allocations: 195 kB / 399.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/0.6224, allocations: 7.703 kB / 399.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007442/0.6298, allocations: 2.705 MB / 401.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.6299, allocations: 5.156 kB / 401.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004803/0.6347, allocations: 1.133 MB / 403 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007224/0.6355, allocations: 188.4 kB / 403.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/0.6357, allocations: 12.47 kB / 403.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008701/0.6366, allocations: 28.47 kB / 403.2 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003227/0.637, allocations: 45.27 kB / 403.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.812e-05/0.6371, allocations: 17.83 kB / 403.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001362/0.6385, allocations: 413.9 kB / 403.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.71e-07/0.6385, allocations: 0 / 403.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001841/0.6404, allocations: 202.7 kB / 403.8 MB, free: 13.04 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0003066/0.6407, allocations: 113.3 kB / 404 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00341/0.6441, allocations: 0.7416 MB / 404.7 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.6442, allocations: 0 / 404.7 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001965/0.6462, allocations: 489.7 kB / 405.2 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.648, allocations: 137.6 kB / 405.3 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006986/0.655, allocations: 1.774 MB / 407.1 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.6562, allocations: 1.075 MB / 408.2 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.6566, allocations: 38.22 kB / 408.2 MB, free: 10.56 MB / 282.7 MB Notification: Performance of SimCode: time 1.853e-06/0.6567, allocations: 0 / 408.2 MB, free: 10.56 MB / 282.7 MB Notification: Performance of Templates: time 0.03998/0.6967, allocations: 12.35 MB / 420.5 MB, free: 1.121 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches