Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.00171/0.00171, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.342/2.342, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 48.03 kB / 300.6 MB, free: 6.301 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1644, allocations: 49.44 MB / 350.1 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.009466/0.1739, allocations: 4.728 MB / 354.8 MB, free: 92 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004088/0.1781, allocations: 1.285 MB / 356.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007392/0.1788, allocations: 23.88 kB / 356.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.1799, allocations: 182.9 kB / 356.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.1813, allocations: 318.4 kB / 356.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006912/0.182, allocations: 183.8 kB / 356.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002786/0.1848, allocations: 1.759 MB / 358.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.1865, allocations: 0.8221 MB / 359.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.1877, allocations: 0.5175 MB / 359.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.1891, allocations: 0.7236 MB / 360.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.1893, allocations: 92 kB / 360.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.1896, allocations: 96 kB / 360.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004986/0.1901, allocations: 358.8 kB / 361.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.1912, allocations: 0.6452 MB / 361.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.1935, allocations: 1.688 MB / 363.5 MB, free: 7.367 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.1935, allocations: 0 / 363.5 MB, free: 7.367 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1935, allocations: 3.938 kB / 363.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.499e-05/0.1935, allocations: 0 / 363.5 MB, free: 7.363 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005059/0.1986, allocations: 1.637 MB / 365.1 MB, free: 5.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/0.1987, allocations: 12.03 kB / 365.1 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004456/0.1992, allocations: 135.3 kB / 365.3 MB, free: 5.527 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.2014, allocations: 0.9111 MB / 366.2 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.2016, allocations: 78.38 kB / 366.2 MB, free: 4.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002811/0.2018, allocations: 100.1 kB / 366.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004073/0.2059, allocations: 1.443 MB / 367.8 MB, free: 2.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/0.206, allocations: 7.906 kB / 367.8 MB, free: 2.918 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.2062, allocations: 43.98 kB / 367.8 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-05/0.2063, allocations: 42 kB / 367.9 MB, free: 2.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003731/0.21, allocations: 1.296 MB / 369.2 MB, free: 1.539 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3292/0.5393, allocations: 4.333 MB / 373.5 MB, free: 23.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.5423, allocations: 1.968 MB / 375.5 MB, free: 21.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.5438, allocations: 0.6146 MB / 376.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.241e-05/0.5439, allocations: 7.531 kB / 376.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/0.5457, allocations: 0.5991 MB / 376.7 MB, free: 21.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 3.196e-06/0.5457, allocations: 0 / 376.7 MB, free: 21.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.01175/0.5574, allocations: 2.74 MB / 379.4 MB, free: 20.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.5576, allocations: 114.4 kB / 379.5 MB, free: 20.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.5596, allocations: 0.8252 MB / 380.4 MB, free: 20.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.5597, allocations: 42.02 kB / 380.4 MB, free: 20.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005946/0.5603, allocations: 480.3 kB / 380.9 MB, free: 19.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.5606, allocations: 244 kB / 381.1 MB, free: 19.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/0.5609, allocations: 135.2 kB / 381.2 MB, free: 19.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.5611, allocations: 397.6 kB / 381.6 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.5623, allocations: 394.5 kB / 382 MB, free: 19.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.5636, allocations: 0.5441 MB / 382.6 MB, free: 18.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00241/0.5661, allocations: 0.9111 MB / 383.5 MB, free: 18.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.5661, allocations: 2.188 kB / 383.5 MB, free: 18.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003907/0.57, allocations: 1.31 MB / 384.8 MB, free: 17.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.5701, allocations: 7.969 kB / 384.8 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.5701, allocations: 4.25 kB / 384.8 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/0.5718, allocations: 478.4 kB / 385.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.5725, allocations: 105.3 kB / 385.4 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.5833, allocations: 5.133 MB / 390.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.5847, allocations: 89.11 kB / 390.6 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.923e-05/0.5848, allocations: 23.66 kB / 390.6 MB, free: 14 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (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.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.001214/0.5861, allocations: 460.8 kB / 391.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.5863, allocations: 90.42 kB / 391.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.5866, allocations: 113.7 kB / 391.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.5867, allocations: 7.906 kB / 391.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.5867, allocations: 0 / 391.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.5867, allocations: 7.984 kB / 391.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006698/0.5934, allocations: 2.602 MB / 393.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.5935, allocations: 4.547 kB / 393.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/0.594, allocations: 62.66 kB / 393.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001764/0.5958, allocations: 464.7 kB / 394.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/0.5959, allocations: 14.73 kB / 394.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009866/0.6058, allocations: 5.067 MB / 399.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6058, allocations: 0 / 399.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/0.6101, allocations: 1.923 MB / 401.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007104/0.6108, allocations: 271.9 kB / 401.7 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.611, allocations: 16 kB / 401.7 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007342/0.6118, allocations: 43.89 kB / 401.7 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/0.6121, allocations: 72.55 kB / 401.8 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.6122, allocations: 19.98 kB / 401.8 MB, free: 5.375 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001141/0.6133, allocations: 0.5927 MB / 402.4 MB, free: 4.789 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.32e-07/0.6134, allocations: 0 / 402.4 MB, free: 4.789 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001789/0.6152, allocations: 339.1 kB / 402.7 MB, free: 4.457 MB / 302.1 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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (40): * Single equations (assignments): 36 * 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 {(6,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002548/0.6154, allocations: 137.2 kB / 402.9 MB, free: 4.312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003251/0.6187, allocations: 1.268 MB / 404.1 MB, free: 3.031 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.6187, allocations: 0.875 kB / 404.1 MB, free: 3.031 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.6204, allocations: 0.8174 MB / 405 MB, free: 2.211 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.6224, allocations: 269.3 kB / 405.2 MB, free: 1.953 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006842/0.6293, allocations: 2.797 MB / 408 MB, free: 15.13 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.6309, allocations: 1.3 MB / 409.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/0.6313, allocations: 55.44 kB / 409.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of SimCode: time 1.292e-06/0.6313, allocations: 0 / 409.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of Templates: time 0.03935/0.6706, allocations: 20.59 MB / 430 MB, free: 9.234 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/DiodeBridge2mPulse/DiodeBridge2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches