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.001883/0.001883, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.001994/0.001994, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 18.57 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 1.534/1.534, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.403e-06/1.403e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.051e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00798/0.00801, allocations: 3.695 MB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002757/0.01077, allocations: 0.9659 MB / 276.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004912/0.01126, allocations: 15.94 kB / 276.9 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.01165, allocations: 83.16 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000712/0.01236, allocations: 158.5 kB / 277.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006326/0.013, allocations: 187.5 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.01418, allocations: 0.6457 MB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004661/0.01465, allocations: 144.5 kB / 278.1 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008552/0.01551, allocations: 359.2 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005362/0.01604, allocations: 191.4 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.01619, allocations: 56 kB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.01641, allocations: 71.92 kB / 278.8 MB, free: 11.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002978/0.01671, allocations: 127.5 kB / 278.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.01709, allocations: 191.5 kB / 279.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.01824, allocations: 0.6504 MB / 279.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.01825, allocations: 8 kB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01825, allocations: 0 / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.705e-05/0.01828, allocations: 3.984 kB / 279.7 MB, free: 10.23 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.002508/0.02079, allocations: 1.069 MB / 280.8 MB, free: 9.109 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.02084, allocations: 15.98 kB / 280.8 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003759/0.02121, allocations: 96.59 kB / 280.9 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007598/0.02197, allocations: 329.2 kB / 281.2 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/0.02202, allocations: 33.38 kB / 281.3 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.02213, allocations: 44.38 kB / 281.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.02334, allocations: 0.5047 MB / 281.8 MB, free: 8.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.02337, allocations: 4.188 kB / 281.8 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.02343, allocations: 19.94 kB / 281.8 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.02345, allocations: 12 kB / 281.9 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.02446, allocations: 299.8 kB / 282.2 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004326/0.02878, allocations: 2.05 MB / 284.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.02981, allocations: 376.3 kB / 284.6 MB, free: 5.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008723/0.03069, allocations: 268.1 kB / 284.8 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.211e-05/0.03074, allocations: 8.328 kB / 284.8 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007484/0.03149, allocations: 306.2 kB / 285.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 6.141e-06/0.03149, allocations: 4 kB / 285.1 MB, free: 4.574 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.003456/0.03495, allocations: 0.7815 MB / 285.9 MB, free: 3.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.03506, allocations: 96.98 kB / 286 MB, free: 3.668 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007/0.03576, allocations: 418.3 kB / 286.4 MB, free: 3.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.03581, allocations: 33.7 kB / 286.5 MB, free: 3.203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.03617, allocations: 296 kB / 286.7 MB, free: 2.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.03638, allocations: 146.8 kB / 286.9 MB, free: 2.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.03662, allocations: 103.8 kB / 287 MB, free: 2.652 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003997/0.03702, allocations: 0.5352 MB / 287.5 MB, free: 2.105 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.03739, allocations: 121 kB / 287.6 MB, free: 1.988 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/0.038, allocations: 329 kB / 288 MB, free: 1.586 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000948/0.03895, allocations: 442 kB / 288.4 MB, free: 1.082 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.03896, allocations: 0 / 288.4 MB, free: 1.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001448/0.0404, allocations: 0.5237 MB / 288.9 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.04043, allocations: 8 kB / 288.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.04045, allocations: 4 kB / 288.9 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006747/0.04113, allocations: 159.8 kB / 289.1 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.04147, allocations: 63.91 kB / 289.2 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005425/0.04689, allocations: 3.05 MB / 292.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.04728, allocations: 43.72 kB / 292.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.04733, allocations: 20 kB / 292.3 MB, free: 13.09 MB / 282.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.000374/0.04771, allocations: 220.5 kB / 292.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.04785, allocations: 51.77 kB / 292.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.04801, allocations: 44.3 kB / 292.6 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.04802, allocations: 8 kB / 292.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.04803, allocations: 3.938 kB / 292.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.04804, allocations: 11.92 kB / 292.6 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.04998, allocations: 0.9946 MB / 293.6 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.04998, allocations: 4 kB / 293.6 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.05016, allocations: 35.92 kB / 293.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004535/0.05061, allocations: 166.6 kB / 293.8 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.05064, allocations: 4 kB / 293.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003913/0.05455, allocations: 3.036 MB / 296.8 MB, free: 8.332 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.05456, allocations: 0 / 296.8 MB, free: 8.332 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.05589, allocations: 0.7718 MB / 297.6 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.05607, allocations: 71.66 kB / 297.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.05613, allocations: 11.98 kB / 297.7 MB, free: 7.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.05635, allocations: 12 kB / 297.7 MB, free: 7.434 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.05646, allocations: 43.92 kB / 297.7 MB, free: 7.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.05649, allocations: 12 kB / 297.8 MB, free: 7.379 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003161/0.0568, allocations: 275 kB / 298 MB, free: 7.113 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0568, allocations: 0 / 298 MB, free: 7.113 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005995/0.0574, allocations: 147.7 kB / 298.2 MB, free: 6.969 MB / 282.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.0001779/0.05758, allocations: 129.9 kB / 298.3 MB, free: 6.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.05876, allocations: 0.6024 MB / 298.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.05876, allocations: 0 / 298.9 MB, free: 6.211 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006896/0.05945, allocations: 462.2 kB / 299.3 MB, free: 5.738 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.05993, allocations: 73.23 kB / 299.4 MB, free: 5.668 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.0618, allocations: 0.8885 MB / 300.3 MB, free: 4.746 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.06208, allocations: 228.7 kB / 300.5 MB, free: 4.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000138/0.06221, allocations: 39.27 kB / 300.6 MB, free: 4.461 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.06229, allocations: 24.5 kB / 300.6 MB, free: 4.438 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.06229, allocations: 8 kB / 300.6 MB, free: 4.43 MB / 282.7 MB Notification: Performance of Templates: time 0.1139/0.1762, allocations: 6.56 MB / 307.2 MB, free: 41.24 MB / 282.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.681486407062039]