Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001184/0.001184, allocations: 72.17 kB / 9.937 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001984/0.003168, allocations: 445.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001183/0.001183, allocations: 157.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001598/0.002781, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9169/0.9169, allocations: 158.6 MB / 171.1 MB, free: 2.57 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1555/1.072, allocations: 49.48 MB / 220.5 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 221.8 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.457e-05, allocations: 10.25 kB / 221.9 MB, free: 148 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.0033/0.003315, allocations: 3.644 MB / 225.5 MB, free: 12.47 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.004631, allocations: 0.9783 MB / 226.5 MB, free: 11.48 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.004799, allocations: 15.88 kB / 226.5 MB, free: 11.47 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.004936, allocations: 75.28 kB / 226.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.00514, allocations: 150.6 kB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.005409, allocations: 171.6 kB / 226.9 MB, free: 11.08 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.005838, allocations: 0.6222 MB / 227.5 MB, free: 10.45 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.00604, allocations: 144.5 kB / 227.6 MB, free: 10.31 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.006376, allocations: 389.3 kB / 228 MB, free: 9.93 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.006596, allocations: 191.4 kB / 228.2 MB, free: 9.742 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.669e-05/0.006652, allocations: 56 kB / 228.3 MB, free: 9.688 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.924e-05/0.006702, allocations: 52 kB / 228.3 MB, free: 9.637 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.006768, allocations: 91.69 kB / 228.4 MB, free: 9.547 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.006887, allocations: 151.8 kB / 228.6 MB, free: 9.398 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.007212, allocations: 374.6 kB / 228.9 MB, free: 9.031 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.007226, allocations: 0 / 228.9 MB, free: 9.031 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.007227, allocations: 0 / 228.9 MB, free: 9.031 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.00724, allocations: 0 / 228.9 MB, free: 9.031 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.000886/0.008126, allocations: 0.7851 MB / 229.7 MB, free: 8.223 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.008158, allocations: 12.03 kB / 229.7 MB, free: 8.211 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.421e-05/0.008242, allocations: 68.83 kB / 229.8 MB, free: 8.145 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.008522, allocations: 241.6 kB / 230 MB, free: 7.879 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.008545, allocations: 33.38 kB / 230.1 MB, free: 7.848 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.008592, allocations: 40.38 kB / 230.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.008957, allocations: 376.4 kB / 230.5 MB, free: 7.402 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.008971, allocations: 192 / 230.5 MB, free: 7.402 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.008996, allocations: 19.94 kB / 230.5 MB, free: 7.383 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.009006, allocations: 12 kB / 230.5 MB, free: 7.371 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.009163, allocations: 118.8 kB / 230.6 MB, free: 7.258 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.01036, allocations: 1.311 MB / 231.9 MB, free: 5.875 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.01066, allocations: 259.2 kB / 232.2 MB, free: 5.613 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.01088, allocations: 181.4 kB / 232.3 MB, free: 5.434 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.0109, allocations: 4.328 kB / 232.4 MB, free: 5.43 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/0.01114, allocations: 226.9 kB / 232.6 MB, free: 5.184 MB / 234.7 MB Notification: Performance of pre-optimization done (n=43): time 1.323e-06/0.01114, allocations: 0 / 232.6 MB, free: 5.184 MB / 234.7 MB Notification: Performance of matching and sorting (n=43): time 0.0009201/0.01206, allocations: 0.5055 MB / 233.1 MB, free: 4.668 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.01209, allocations: 59.41 kB / 233.1 MB, free: 4.598 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.01225, allocations: 282.9 kB / 233.4 MB, free: 4.309 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.01227, allocations: 29.7 kB / 233.4 MB, free: 4.273 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.943e-05/0.01235, allocations: 193.2 kB / 233.6 MB, free: 4.082 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.855e-05/0.01242, allocations: 142.8 kB / 233.8 MB, free: 3.941 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.469e-05/0.01249, allocations: 90.09 kB / 233.9 MB, free: 3.848 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.296e-05/0.01258, allocations: 350.7 kB / 234.2 MB, free: 3.496 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.991e-05/0.01263, allocations: 40.98 kB / 234.2 MB, free: 3.457 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.01275, allocations: 205.9 kB / 234.4 MB, free: 3.191 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.01294, allocations: 257.8 kB / 234.7 MB, free: 2.887 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01294, allocations: 0 / 234.7 MB, free: 2.887 MB / 234.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0002983/0.01324, allocations: 297.6 kB / 235 MB, free: 2.586 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.01326, allocations: 8.469 kB / 235 MB, free: 2.578 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01326, allocations: 11.94 kB / 235 MB, free: 2.566 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/0.01347, allocations: 96.77 kB / 235.1 MB, free: 2.469 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.01362, allocations: 75.91 kB / 235.2 MB, free: 2.395 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.01483, allocations: 1.85 MB / 237 MB, free: 476 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.01495, allocations: 35.78 kB / 237.1 MB, free: 440 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.01496, allocations: 16 kB / 237.1 MB, free: 424 kB / 234.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.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.0001085/0.01507, allocations: 148.5 kB / 237.2 MB, free: 264 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.01511, allocations: 43.94 kB / 237.3 MB, free: 220 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.01515, allocations: 51.47 kB / 237.3 MB, free: 168 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01516, allocations: 4 kB / 237.3 MB, free: 164 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01516, allocations: 0 / 237.3 MB, free: 164 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01516, allocations: 3.984 kB / 237.3 MB, free: 160 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000552/0.01571, allocations: 0.5443 MB / 237.9 MB, free: 15.58 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.01572, allocations: 0 / 237.9 MB, free: 15.58 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-05/0.01581, allocations: 43.92 kB / 237.9 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.01589, allocations: 47.69 kB / 238 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/0.01607, allocations: 88.77 kB / 238 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.01609, allocations: 16 kB / 238.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.01721, allocations: 1.824 MB / 239.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01722, allocations: 0 / 239.9 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.01756, allocations: 412.5 kB / 240.3 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.01759, allocations: 8 kB / 240.3 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.01769, allocations: 12 kB / 240.3 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.01775, allocations: 39.86 kB / 240.3 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.01777, allocations: 12 kB / 240.4 MB, free: 12.99 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.893e-05/0.01784, allocations: 104.5 kB / 240.5 MB, free: 12.89 MB / 250.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01784, allocations: 0 / 240.5 MB, free: 12.89 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003268/0.01816, allocations: 147.7 kB / 240.6 MB, free: 12.74 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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 9.501e-05/0.01826, allocations: 104.3 kB / 240.7 MB, free: 12.63 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004211/0.01868, allocations: 403.7 kB / 241.1 MB, free: 12.22 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/0.01869, allocations: 4.25 kB / 241.1 MB, free: 12.22 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.01894, allocations: 326.6 kB / 241.4 MB, free: 11.88 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.01918, allocations: 100.6 kB / 241.5 MB, free: 11.79 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.02204, allocations: 0.8356 MB / 242.4 MB, free: 10.91 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.614e-05/0.02213, allocations: 118.3 kB / 242.5 MB, free: 10.78 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.482e-05/0.02221, allocations: 39.36 kB / 242.5 MB, free: 10.74 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.02235, allocations: 119.3 kB / 242.6 MB, free: 10.62 MB / 250.7 MB Notification: Performance of SimCode: time 1.332e-06/0.02235, allocations: 0 / 242.6 MB, free: 10.62 MB / 250.7 MB Notification: Performance of Templates: time 0.009079/0.03143, allocations: 7.066 MB / 249.7 MB, free: 3.586 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.7022874476388097]