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.001944/0.001944, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002418/0.002418, allocations: 211.5 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001796/0.001796, allocations: 47.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2803, allocations: 53.37 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00541/0.2857, allocations: 3.455 MB / 435.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.2877, allocations: 0.9544 MB / 436 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.2879, allocations: 15.94 kB / 436 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.2882, allocations: 79.22 kB / 436.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.2885, allocations: 146.7 kB / 436.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.2889, allocations: 179.7 kB / 436.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009249/0.2899, allocations: 0.6187 MB / 437 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.2902, allocations: 140.6 kB / 437.2 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003696/0.2906, allocations: 243.1 kB / 437.4 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003759/0.2909, allocations: 218.9 kB / 437.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.308e-05/0.291, allocations: 56 kB / 437.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.2911, allocations: 60 kB / 437.7 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.2914, allocations: 127.5 kB / 437.9 MB, free: 452 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003828/0.2918, allocations: 219 kB / 438.1 MB, free: 232 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008276/0.2926, allocations: 0.6572 MB / 438.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2926, allocations: 4 kB / 438.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.2926, allocations: 3.984 kB / 438.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.2926, allocations: 0 / 438.7 MB, free: 15.56 MB / 350.1 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.001611/0.2942, allocations: 0.8578 MB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2943, allocations: 8.031 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.2945, allocations: 68.59 kB / 439.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006857/0.2952, allocations: 315.2 kB / 440 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.2952, allocations: 37.38 kB / 440 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.2953, allocations: 40.38 kB / 440.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000913/0.2962, allocations: 499.2 kB / 440.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.2962, allocations: 4 kB / 440.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.2963, allocations: 16 kB / 440.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.2963, allocations: 11.94 kB / 440.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.2969, allocations: 323.7 kB / 440.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.2993, allocations: 1.619 MB / 442.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/0.3001, allocations: 351.9 kB / 442.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006974/0.3008, allocations: 249.4 kB / 443.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.3008, allocations: 4.328 kB / 443.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005502/0.3014, allocations: 294.8 kB / 443.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.903e-06/0.3014, allocations: 0 / 443.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002312/0.3037, allocations: 0.7681 MB / 444.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.3037, allocations: 85.05 kB / 444.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.3041, allocations: 308.5 kB / 444.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.3041, allocations: 37.7 kB / 444.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.3043, allocations: 237.3 kB / 444.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3044, allocations: 134.8 kB / 444.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.3046, allocations: 94.14 kB / 445 MB, free: 9.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3047, allocations: 346.7 kB / 445.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.305, allocations: 125 kB / 445.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.3054, allocations: 270.1 kB / 445.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/0.306, allocations: 379.4 kB / 446.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.306, allocations: 0 / 446.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009499/0.3069, allocations: 0.5013 MB / 446.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3069, allocations: 4 kB / 446.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3069, allocations: 8.406 kB / 446.6 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005252/0.3075, allocations: 155.3 kB / 446.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.3077, allocations: 67.84 kB / 446.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003144/0.3109, allocations: 2.387 MB / 449.2 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.3111, allocations: 43.77 kB / 449.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.3112, allocations: 20 kB / 449.3 MB, free: 4.496 MB / 350.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: 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.0003195/0.3115, allocations: 177.8 kB / 449.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.3116, allocations: 39.77 kB / 449.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.3117, allocations: 56.17 kB / 449.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3117, allocations: 4 kB / 449.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3117, allocations: 0 / 449.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.3117, allocations: 3.984 kB / 449.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.3132, allocations: 0.8719 MB / 450.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.3132, allocations: 4 kB / 450.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.3134, allocations: 39.95 kB / 450.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003947/0.3137, allocations: 144.7 kB / 450.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.3138, allocations: 7.984 kB / 450.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/0.3168, allocations: 2.383 MB / 453 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3168, allocations: 0 / 453 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.318, allocations: 0.706 MB / 453.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.3182, allocations: 75.7 kB / 453.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.3182, allocations: 15.98 kB / 453.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.3184, allocations: 12 kB / 453.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.3185, allocations: 39.86 kB / 453.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.3186, allocations: 16 kB / 453.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002383/0.3188, allocations: 215.1 kB / 454.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3188, allocations: 3.938 kB / 454.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006172/0.3194, allocations: 155.7 kB / 454.3 MB, free: 15.36 MB / 366.1 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.0001646/0.3196, allocations: 123.2 kB / 454.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3206, allocations: 0.5219 MB / 454.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3206, allocations: 0 / 454.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006155/0.3212, allocations: 366.5 kB / 455.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.3217, allocations: 68.97 kB / 455.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.3233, allocations: 0.8854 MB / 456.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.3236, allocations: 228.8 kB / 456.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.3237, allocations: 35.28 kB / 456.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.113e-05/0.3238, allocations: 35.42 kB / 456.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3238, allocations: 0 / 456.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Templates: time 0.01363/0.3374, allocations: 6.984 MB / 463.5 MB, free: 6.207 MB / 366.1 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.81097106449306]