Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9303/0.9303, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.069e-05, allocations: 2.312 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00546/0.00549, allocations: 3.749 MB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.007481, allocations: 0.966 MB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.007756, allocations: 11.94 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.008035, allocations: 83.16 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004522/0.008487, allocations: 158.6 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.009013, allocations: 179.6 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007615/0.009775, allocations: 0.6418 MB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.0101, allocations: 144.5 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005545/0.01065, allocations: 355.2 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.011, allocations: 203.4 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.94e-05/0.01109, allocations: 56 kB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.01123, allocations: 56 kB / 279.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.01134, allocations: 119.6 kB / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.01157, allocations: 195.5 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005825/0.01216, allocations: 414.5 kB / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01216, allocations: 0 / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01216, allocations: 0 / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.01217, allocations: 0 / 280.3 MB, free: 10.18 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001327/0.0135, allocations: 0.9559 MB / 281.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.01354, allocations: 8.031 kB / 281.3 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.01379, allocations: 100.6 kB / 281.4 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.01425, allocations: 324.2 kB / 281.7 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.01428, allocations: 37.31 kB / 281.7 MB, free: 8.691 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/0.01436, allocations: 48.36 kB / 281.8 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.015, allocations: 405.5 kB / 282.2 MB, free: 8.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.01502, allocations: 4.188 kB / 282.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.01507, allocations: 19.94 kB / 282.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.01508, allocations: 8 kB / 282.2 MB, free: 8.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004053/0.01549, allocations: 181.8 kB / 282.4 MB, free: 8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.01757, allocations: 1.835 MB / 284.2 MB, free: 6.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.01814, allocations: 301.1 kB / 284.5 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/0.01859, allocations: 212.1 kB / 284.7 MB, free: 5.551 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.01862, allocations: 8.328 kB / 284.7 MB, free: 5.543 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/0.019, allocations: 254.1 kB / 285 MB, free: 5.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.903e-06/0.019, allocations: 0 / 285 MB, free: 5.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001725/0.02072, allocations: 0.6225 MB / 285.6 MB, free: 4.633 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.02078, allocations: 89.05 kB / 285.7 MB, free: 4.527 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.02108, allocations: 342.3 kB / 286 MB, free: 4.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.02111, allocations: 41.69 kB / 286 MB, free: 4.133 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.02127, allocations: 276 kB / 286.3 MB, free: 3.859 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.02138, allocations: 138.8 kB / 286.4 MB, free: 3.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.0215, allocations: 87.84 kB / 286.5 MB, free: 3.629 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.02166, allocations: 0.5157 MB / 287 MB, free: 3.102 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.02181, allocations: 60.95 kB / 287.1 MB, free: 3.043 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.02207, allocations: 277 kB / 287.4 MB, free: 2.688 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.02249, allocations: 329.9 kB / 287.7 MB, free: 2.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.02249, allocations: 0 / 287.7 MB, free: 2.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006651/0.02316, allocations: 408.3 kB / 288.1 MB, free: 1.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.02317, allocations: 4.469 kB / 288.1 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.02318, allocations: 11.98 kB / 288.1 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003675/0.02355, allocations: 121.5 kB / 288.2 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.02375, allocations: 59.91 kB / 288.3 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.02563, allocations: 2.629 MB / 290.9 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.02576, allocations: 39.73 kB / 291 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.02578, allocations: 23.98 kB / 291 MB, free: 14.88 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: 13 (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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.0259, allocations: 184.5 kB / 291.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.02595, allocations: 59.75 kB / 291.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.026, allocations: 48.3 kB / 291.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.026, allocations: 4.094 kB / 291.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.026, allocations: 0 / 291.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.02601, allocations: 7.922 kB / 291.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007556/0.02677, allocations: 0.7869 MB / 292.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.02677, allocations: 4.031 kB / 292.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.949e-05/0.02686, allocations: 35.97 kB / 292.1 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001986/0.02706, allocations: 111.5 kB / 292.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.02707, allocations: 4 kB / 292.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.02857, allocations: 2.628 MB / 294.8 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02857, allocations: 0 / 294.8 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005579/0.02913, allocations: 0.5669 MB / 295.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.02922, allocations: 75.66 kB / 295.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.02925, allocations: 8 kB / 295.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.02935, allocations: 11.98 kB / 295.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.02943, allocations: 35.94 kB / 295.5 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.02944, allocations: 19.98 kB / 295.6 MB, free: 10.08 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.02957, allocations: 231 kB / 295.8 MB, free: 9.859 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02957, allocations: 0 / 295.8 MB, free: 9.859 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003369/0.02991, allocations: 147.7 kB / 295.9 MB, free: 9.715 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.y_last,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * 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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000108/0.03002, allocations: 127.1 kB / 296.1 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005392/0.03056, allocations: 0.4976 MB / 296.6 MB, free: 9.066 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.03056, allocations: 0 / 296.6 MB, free: 9.066 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.03084, allocations: 393.2 kB / 296.9 MB, free: 8.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.03114, allocations: 77 kB / 297 MB, free: 8.582 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.03238, allocations: 0.8402 MB / 297.8 MB, free: 7.707 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.265e-05/0.03246, allocations: 122.1 kB / 298 MB, free: 7.562 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.541e-05/0.03254, allocations: 39.25 kB / 298 MB, free: 7.523 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.0326, allocations: 28.5 kB / 298 MB, free: 7.496 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0326, allocations: 0 / 298 MB, free: 7.496 MB / 282.7 MB Notification: Performance of Templates: time 0.009537/0.04213, allocations: 6.87 MB / 304.9 MB, free: 0.7969 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.793048675172031]