Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 149.7 kB / 24.81 MB, free: 8.938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9724/0.9724, allocations: 173.4 MB / 201.4 MB, free: 9.207 MB / 186.7 MB " [Timeout remaining time 179] 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.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 268.4 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/2.963e-05, allocations: 6.25 kB / 268.4 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003903/0.003932, allocations: 3.633 MB / 272.1 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.005495, allocations: 0.9114 MB / 273 MB, free: 1.586 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000301/0.005796, allocations: 11.94 kB / 273 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.006029, allocations: 71.23 kB / 273.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.006382, allocations: 158.6 kB / 273.2 MB, free: 1.348 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.006733, allocations: 171.6 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005519/0.007285, allocations: 0.6224 MB / 274 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.007564, allocations: 136.6 kB / 274.1 MB, free: 420 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004276/0.007992, allocations: 351.2 kB / 274.5 MB, free: 68 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003136/0.008305, allocations: 195.4 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.226e-05/0.008377, allocations: 56 kB / 274.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/0.008446, allocations: 52 kB / 274.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.206e-05/0.008538, allocations: 123.5 kB / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.008699, allocations: 191.6 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.009117, allocations: 406.5 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.00912, allocations: 0 / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.009121, allocations: 0 / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.00913, allocations: 0 / 275.5 MB, free: 15.06 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.001001/0.01013, allocations: 0.9557 MB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.01017, allocations: 12.92 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.01029, allocations: 88.61 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.0106, allocations: 308.3 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.01062, allocations: 33.38 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.01067, allocations: 44.38 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.01107, allocations: 381.5 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.01108, allocations: 4.125 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.01111, allocations: 19.94 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.01112, allocations: 15.94 kB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.01131, allocations: 138.8 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.01289, allocations: 1.777 MB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.01324, allocations: 280.2 kB / 279.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.0135, allocations: 187 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.01353, allocations: 12.33 kB / 279.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.01377, allocations: 242 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.01377, allocations: 0 / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001121/0.01489, allocations: 0.5834 MB / 280.5 MB, free: 9.762 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.01494, allocations: 89.11 kB / 280.6 MB, free: 9.656 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.01515, allocations: 322.1 kB / 280.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.01517, allocations: 37.7 kB / 281 MB, free: 9.277 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.01529, allocations: 280 kB / 281.2 MB, free: 9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.0154, allocations: 134.8 kB / 281.4 MB, free: 8.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.01549, allocations: 95.75 kB / 281.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.01561, allocations: 0.5195 MB / 282 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.279e-05/0.01568, allocations: 48.95 kB / 282 MB, free: 8.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.0159, allocations: 252.9 kB / 282.3 MB, free: 7.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.01613, allocations: 306.1 kB / 282.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.01614, allocations: 4 kB / 282.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003883/0.01653, allocations: 372.1 kB / 283 MB, free: 7.109 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01654, allocations: 4.469 kB / 283 MB, free: 7.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.01655, allocations: 4 kB / 283 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/0.01678, allocations: 111.5 kB / 283.1 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.01692, allocations: 67.84 kB / 283.1 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.01881, allocations: 2.555 MB / 285.7 MB, free: 4.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.01895, allocations: 43.73 kB / 285.7 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.01896, allocations: 19.92 kB / 285.8 MB, free: 4.195 MB / 266.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.0001325/0.0191, allocations: 196.4 kB / 285.9 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.01915, allocations: 51.77 kB / 286 MB, free: 3.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.01919, allocations: 43.48 kB / 286 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.0192, allocations: 4 kB / 286 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.0192, allocations: 0 / 286 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-06/0.01921, allocations: 3.984 kB / 286 MB, free: 3.895 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007091/0.01991, allocations: 0.709 MB / 286.8 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.01992, allocations: 4.031 kB / 286.8 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.672e-05/0.02001, allocations: 39.92 kB / 286.8 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002036/0.02022, allocations: 103.6 kB / 286.9 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.02024, allocations: 11.94 kB / 286.9 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.02214, allocations: 2.552 MB / 289.5 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.02214, allocations: 4 kB / 289.5 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1201/0.1423, allocations: 0.4936 MB / 290 MB, free: 28.92 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.1425, allocations: 81.31 kB / 290 MB, free: 28.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.1425, allocations: 12.56 kB / 290.1 MB, free: 28.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.1427, allocations: 14.64 kB / 290.1 MB, free: 28.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.1428, allocations: 40.22 kB / 290.1 MB, free: 28.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.1428, allocations: 9.578 kB / 290.1 MB, free: 28.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.143, allocations: 219.9 kB / 290.3 MB, free: 28.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.143, allocations: 1.156 kB / 290.3 MB, free: 28.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006024/0.1436, allocations: 143.9 kB / 290.5 MB, free: 28.8 MB / 266.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.0001329/0.1437, allocations: 114.6 kB / 290.6 MB, free: 28.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006522/0.1443, allocations: 488.3 kB / 291.1 MB, free: 28.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1444, allocations: 0 / 291.1 MB, free: 28.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.1447, allocations: 379.6 kB / 291.4 MB, free: 28.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.1451, allocations: 77.39 kB / 291.5 MB, free: 28.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.1466, allocations: 0.813 MB / 292.3 MB, free: 27.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.1467, allocations: 119.3 kB / 292.4 MB, free: 27.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.1469, allocations: 37.72 kB / 292.5 MB, free: 27.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.1471, allocations: 149.2 kB / 292.6 MB, free: 27.78 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1471, allocations: 0 / 292.6 MB, free: 27.78 MB / 266.7 MB Notification: Performance of Templates: time 0.01298/0.16, allocations: 6.893 MB / 299.5 MB, free: 26.45 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8736021062359214]