Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000771/0.000771, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001141/0.001912, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007007/0.0007007, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008576/0.001558, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9558/0.9558, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07662/1.032, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.791e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003359/0.003377, allocations: 3.743 MB / 248.8 MB, free: 9.867 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.004496, allocations: 1.016 MB / 249.8 MB, free: 8.848 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.004622, allocations: 11.94 kB / 249.8 MB, free: 8.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.004736, allocations: 83.16 kB / 249.9 MB, free: 8.754 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.004906, allocations: 158.6 kB / 250 MB, free: 8.598 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.005122, allocations: 175.7 kB / 250.2 MB, free: 8.426 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003974/0.00552, allocations: 0.6418 MB / 250.8 MB, free: 7.781 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.005699, allocations: 149.2 kB / 251 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.006005, allocations: 406.2 kB / 251.4 MB, free: 7.238 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.006194, allocations: 199.4 kB / 251.6 MB, free: 7.043 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.792e-05/0.006242, allocations: 56 kB / 251.6 MB, free: 6.988 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.06e-05/0.006323, allocations: 60 kB / 251.7 MB, free: 6.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.006382, allocations: 95.67 kB / 251.8 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.006491, allocations: 155.7 kB / 251.9 MB, free: 6.684 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.006784, allocations: 378.6 kB / 252.3 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.006793, allocations: 0 / 252.3 MB, free: 6.312 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.006794, allocations: 0 / 252.3 MB, free: 6.312 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.006806, allocations: 0 / 252.3 MB, free: 6.312 MB / 250.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.0007045/0.00751, allocations: 0.816 MB / 253.1 MB, free: 5.465 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.211e-05/0.007532, allocations: 8.625 kB / 253.1 MB, free: 5.457 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.007673, allocations: 166 kB / 253.3 MB, free: 5.277 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.007913, allocations: 257.5 kB / 253.6 MB, free: 4.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.007934, allocations: 41.31 kB / 253.6 MB, free: 4.957 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.007972, allocations: 40.38 kB / 253.6 MB, free: 4.918 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.008265, allocations: 376.4 kB / 254 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.008276, allocations: 192 / 254 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.008298, allocations: 19.94 kB / 254 MB, free: 4.5 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.008306, allocations: 8 kB / 254 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.008442, allocations: 130.9 kB / 254.2 MB, free: 4.363 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.009486, allocations: 1.322 MB / 255.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.009734, allocations: 251.4 kB / 255.7 MB, free: 2.719 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.009943, allocations: 181.2 kB / 255.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.009964, allocations: 8.328 kB / 255.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.01015, allocations: 234.7 kB / 256.1 MB, free: 2.277 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 1.072e-06/0.01015, allocations: 0 / 256.1 MB, free: 2.277 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008143/0.01097, allocations: 0.4978 MB / 256.6 MB, free: 1.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.01099, allocations: 59.41 kB / 256.7 MB, free: 1.699 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.01114, allocations: 282.9 kB / 257 MB, free: 1.41 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.01116, allocations: 33.7 kB / 257 MB, free: 1.371 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.01124, allocations: 201.8 kB / 257.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.314e-05/0.0113, allocations: 146.8 kB / 257.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.01137, allocations: 90.14 kB / 257.4 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.01145, allocations: 346.7 kB / 257.8 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.0115, allocations: 40.98 kB / 257.8 MB, free: 0.543 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.01161, allocations: 210 kB / 258 MB, free: 280 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.0118, allocations: 262 kB / 258.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.0118, allocations: 0 / 258.3 MB, free: 15.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0002717/0.01207, allocations: 301.4 kB / 258.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.01208, allocations: 8 kB / 258.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01209, allocations: 4 kB / 258.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.01227, allocations: 101.1 kB / 258.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.0124, allocations: 75.91 kB / 258.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.0135, allocations: 1.848 MB / 260.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.01361, allocations: 43.72 kB / 260.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.01363, allocations: 16 kB / 260.7 MB, free: 13.49 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_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 9.792e-05/0.01372, allocations: 152.5 kB / 260.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.01376, allocations: 35.97 kB / 260.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.321e-05/0.0138, allocations: 52.3 kB / 260.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01381, allocations: 7.984 kB / 260.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.01381, allocations: 0 / 260.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01381, allocations: 0 / 260.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.0143, allocations: 0.5366 MB / 261.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.0143, allocations: 0 / 261.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.922e-05/0.01439, allocations: 47.91 kB / 261.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.01446, allocations: 43.64 kB / 261.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001535/0.01461, allocations: 108.8 kB / 261.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.01462, allocations: 4 kB / 261.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.01567, allocations: 1.84 MB / 263.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01567, allocations: 4 kB / 263.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.016, allocations: 412.2 kB / 263.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.01602, allocations: 7.938 kB / 263.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.312e-05/0.01612, allocations: 23.98 kB / 263.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.01616, allocations: 39.92 kB / 263.9 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.01617, allocations: 4 kB / 264 MB, free: 10.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.951e-05/0.01624, allocations: 108.6 kB / 264.1 MB, free: 9.938 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01624, allocations: 0 / 264.1 MB, free: 9.938 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000286/0.01653, allocations: 147.8 kB / 264.2 MB, free: 9.793 MB / 266.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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 7.125e-05/0.0166, allocations: 94.22 kB / 264.3 MB, free: 9.691 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003481/0.01695, allocations: 406.6 kB / 264.7 MB, free: 9.281 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.01696, allocations: 4 kB / 264.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.01717, allocations: 319.8 kB / 265 MB, free: 8.949 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.01739, allocations: 109 kB / 265.1 MB, free: 8.844 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.02009, allocations: 0.8604 MB / 266 MB, free: 7.949 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.914e-05/0.02016, allocations: 122.3 kB / 266.1 MB, free: 7.809 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.298e-05/0.02023, allocations: 35.28 kB / 266.1 MB, free: 7.773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.02036, allocations: 119.3 kB / 266.2 MB, free: 7.656 MB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.02036, allocations: 0 / 266.2 MB, free: 7.656 MB / 266.7 MB Notification: Performance of Templates: time 0.009044/0.0294, allocations: 7.19 MB / 273.4 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.5981602938845754]