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.001125/0.001125, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005716/0.005716, allocations: 164 kB / 24.7 MB, free: 8.891 MB / 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.8856/0.8856, allocations: 177.1 MB / 205 MB, free: 5.746 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.623e-06/1.623e-06, allocations: 0 / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.106e-05, allocations: 2.281 kB / 325.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003432/0.003453, allocations: 3.463 MB / 329.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.005003, allocations: 0.9621 MB / 330.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.005176, allocations: 11.94 kB / 330.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.005369, allocations: 79.16 kB / 330.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.005636, allocations: 154.6 kB / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.00595, allocations: 183.6 kB / 330.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004187/0.006369, allocations: 0.6492 MB / 331.3 MB, free: 9.758 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.006591, allocations: 136.6 kB / 331.5 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.006889, allocations: 359.2 kB / 331.8 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.007087, allocations: 183.4 kB / 332 MB, free: 9.094 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.007136, allocations: 56 kB / 332.1 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-05/0.007217, allocations: 59.98 kB / 332.1 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.436e-05/0.007291, allocations: 131.5 kB / 332.2 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.007413, allocations: 183.6 kB / 332.4 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.007861, allocations: 0.6698 MB / 333.1 MB, free: 8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.007863, allocations: 0 / 333.1 MB, free: 8 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.007864, allocations: 0 / 333.1 MB, free: 8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.00787, allocations: 0 / 333.1 MB, free: 8 MB / 298.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.0009404/0.00881, allocations: 0.8438 MB / 333.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.008846, allocations: 12.03 kB / 334 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.008981, allocations: 64.59 kB / 334 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.009326, allocations: 322.3 kB / 334.3 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.009349, allocations: 33.38 kB / 334.4 MB, free: 6.664 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.009397, allocations: 44.38 kB / 334.4 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.009887, allocations: 487.8 kB / 334.9 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.009906, allocations: 4.125 kB / 334.9 MB, free: 6.113 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.009935, allocations: 19.94 kB / 334.9 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.009944, allocations: 12 kB / 334.9 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.01032, allocations: 319.8 kB / 335.2 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.01177, allocations: 1.62 MB / 336.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000458/0.01223, allocations: 352.3 kB / 337.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.01257, allocations: 249.3 kB / 337.4 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.0126, allocations: 4.328 kB / 337.4 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.0129, allocations: 302.8 kB / 337.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.453e-06/0.0129, allocations: 0 / 337.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001313/0.01421, allocations: 0.772 MB / 338.5 MB, free: 2.363 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.01426, allocations: 85.11 kB / 338.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.01446, allocations: 300.6 kB / 338.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.01449, allocations: 41.69 kB / 338.9 MB, free: 1.914 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.0146, allocations: 229.3 kB / 339.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.01467, allocations: 142.8 kB / 339.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.064e-05/0.01475, allocations: 94.08 kB / 339.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.01484, allocations: 342.8 kB / 339.7 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.01499, allocations: 120.9 kB / 339.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.0152, allocations: 282 kB / 340.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.01556, allocations: 382.2 kB / 340.5 MB, free: 220 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.01556, allocations: 8 kB / 340.5 MB, free: 212 kB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005378/0.0161, allocations: 0.5014 MB / 341 MB, free: 15.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.01611, allocations: 12.03 kB / 341 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01612, allocations: 4 kB / 341 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/0.0164, allocations: 144.8 kB / 341.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.01653, allocations: 63.91 kB / 341.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001764/0.01829, allocations: 2.394 MB / 343.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.01841, allocations: 39.73 kB / 343.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.01843, allocations: 16 kB / 343.7 MB, free: 12.93 MB / 314.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.0001458/0.01857, allocations: 184.8 kB / 343.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.01861, allocations: 39.77 kB / 343.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.01867, allocations: 48.3 kB / 343.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01867, allocations: 4 kB / 343.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.01867, allocations: 0 / 343.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.01868, allocations: 7.922 kB / 343.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008608/0.01954, allocations: 0.8721 MB / 344.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01954, allocations: 0 / 344.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.098e-05/0.01963, allocations: 35.97 kB / 344.8 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/0.01986, allocations: 151.3 kB / 345 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.01987, allocations: 8 kB / 345 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.02152, allocations: 2.383 MB / 347.4 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02152, allocations: 0 / 347.4 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006793/0.0222, allocations: 0.702 MB / 348.1 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.143e-05/0.02229, allocations: 75.7 kB / 348.2 MB, free: 8.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.02232, allocations: 8 kB / 348.2 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.02242, allocations: 15.98 kB / 348.2 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.02249, allocations: 43.7 kB / 348.2 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.02251, allocations: 11.94 kB / 348.2 MB, free: 8.172 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.02265, allocations: 219.1 kB / 348.5 MB, free: 7.961 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02265, allocations: 3.938 kB / 348.5 MB, free: 7.957 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003485/0.023, allocations: 147.7 kB / 348.6 MB, free: 7.812 MB / 314.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.0001136/0.02311, allocations: 131 kB / 348.7 MB, free: 7.676 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005882/0.0237, allocations: 0.5182 MB / 349.2 MB, free: 7.145 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.0237, allocations: 3.984 kB / 349.2 MB, free: 7.141 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000303/0.02401, allocations: 362.6 kB / 349.6 MB, free: 6.773 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.02429, allocations: 82.36 kB / 349.7 MB, free: 6.695 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.02529, allocations: 0.8679 MB / 350.6 MB, free: 5.785 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.02543, allocations: 224.8 kB / 350.8 MB, free: 5.539 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/0.02548, allocations: 28.5 kB / 350.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02548, allocations: 4 kB / 350.8 MB, free: 5.508 MB / 314.7 MB Notification: Performance of Templates: time 0.005658/0.03114, allocations: 7.221 MB / 358 MB, free: 14.33 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.483660104684532]