Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008909/0.0008909, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000846/0.000846, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9618/0.9618, allocations: 173.4 MB / 202.2 MB, free: 8.281 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.534e-05, allocations: 2.312 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.00322/0.003235, allocations: 3.629 MB / 272.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.004356, allocations: 0.9067 MB / 273.8 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.00452, allocations: 11.88 kB / 273.8 MB, free: 5.219 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.004691, allocations: 83.72 kB / 273.9 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.004929, allocations: 145.2 kB / 274 MB, free: 4.996 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.005175, allocations: 173.4 kB / 274.2 MB, free: 4.828 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004091/0.005584, allocations: 0.6301 MB / 274.8 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.005794, allocations: 136.6 kB / 274.9 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.006061, allocations: 348.1 kB / 275.3 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.006267, allocations: 195.4 kB / 275.5 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.00632, allocations: 56.75 kB / 275.5 MB, free: 3.469 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.936e-05/0.006369, allocations: 56 kB / 275.6 MB, free: 3.414 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.006442, allocations: 120.1 kB / 275.7 MB, free: 3.297 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.006572, allocations: 199.4 kB / 275.9 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.006882, allocations: 402.5 kB / 276.3 MB, free: 2.707 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006885, allocations: 3.984 kB / 276.3 MB, free: 2.703 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006885, allocations: 0 / 276.3 MB, free: 2.703 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.00689, allocations: 0 / 276.3 MB, free: 2.703 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.000862/0.007752, allocations: 0.9518 MB / 277.2 MB, free: 1.699 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.007781, allocations: 12.03 kB / 277.2 MB, free: 1.688 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.134e-05/0.007872, allocations: 92.59 kB / 277.3 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.00815, allocations: 300.3 kB / 277.6 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.008175, allocations: 33.38 kB / 277.7 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.008223, allocations: 48.36 kB / 277.7 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.008594, allocations: 385.4 kB / 278.1 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.008609, allocations: 192 / 278.1 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.008637, allocations: 19.94 kB / 278.1 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.008648, allocations: 12 kB / 278.1 MB, free: 0.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.008817, allocations: 130.8 kB / 278.2 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.01017, allocations: 1.781 MB / 280 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.01051, allocations: 282.1 kB / 280.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.01078, allocations: 194.2 kB / 280.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.0108, allocations: 8.328 kB / 280.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.01104, allocations: 242 kB / 280.7 MB, free: 14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 1.253e-06/0.01104, allocations: 4 kB / 280.7 MB, free: 14 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.0011/0.01214, allocations: 0.5835 MB / 281.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.01218, allocations: 85.05 kB / 281.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.01236, allocations: 326.1 kB / 281.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.01239, allocations: 37.7 kB / 281.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.01252, allocations: 276 kB / 282 MB, free: 12.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.719e-05/0.01259, allocations: 142.8 kB / 282.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.01268, allocations: 91.75 kB / 282.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.01282, allocations: 0.5156 MB / 282.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.425e-05/0.01288, allocations: 52.95 kB / 282.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.01304, allocations: 257 kB / 283.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.01329, allocations: 298.8 kB / 283.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.01329, allocations: 0 / 283.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003942/0.01368, allocations: 380.3 kB / 283.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.0137, allocations: 8 kB / 283.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.01371, allocations: 4 kB / 283.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000236/0.01394, allocations: 101.8 kB / 283.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.01408, allocations: 68.12 kB / 283.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.01563, allocations: 2.57 MB / 286.5 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.01576, allocations: 39.77 kB / 286.5 MB, free: 7.863 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.01577, allocations: 16 kB / 286.5 MB, free: 7.848 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_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.000116/0.01589, allocations: 184.5 kB / 286.7 MB, free: 7.656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.01594, allocations: 47.77 kB / 286.8 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.01599, allocations: 47.48 kB / 286.8 MB, free: 7.566 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01599, allocations: 4 kB / 286.8 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.01599, allocations: 4 kB / 286.8 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.016, allocations: 7.984 kB / 286.8 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.01667, allocations: 0.7129 MB / 287.5 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.01667, allocations: 3.984 kB / 287.5 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.008e-05/0.01676, allocations: 35.98 kB / 287.6 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/0.01694, allocations: 103.5 kB / 287.7 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.01696, allocations: 19.88 kB / 287.7 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.01838, allocations: 2.548 MB / 290.2 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01838, allocations: 0 / 290.2 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.01882, allocations: 0.5044 MB / 290.8 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.924e-05/0.01891, allocations: 75.59 kB / 290.8 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.01894, allocations: 8 kB / 290.8 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.01905, allocations: 19.98 kB / 290.9 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.01911, allocations: 35.94 kB / 290.9 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.01912, allocations: 11.98 kB / 290.9 MB, free: 3.281 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.937e-05/0.01922, allocations: 214.9 kB / 291.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01922, allocations: 0 / 291.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004304/0.01965, allocations: 155.7 kB / 291.3 MB, free: 2.922 MB / 266.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.000124/0.01978, allocations: 119.2 kB / 291.4 MB, free: 2.797 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004933/0.02027, allocations: 481.5 kB / 291.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02027, allocations: 0 / 291.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.02054, allocations: 381.5 kB / 292.2 MB, free: 1.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.02082, allocations: 76.48 kB / 292.3 MB, free: 1.836 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.02195, allocations: 0.8165 MB / 293.1 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.653e-05/0.02204, allocations: 122.3 kB / 293.2 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.536e-05/0.02212, allocations: 31.28 kB / 293.3 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.02227, allocations: 154.1 kB / 293.4 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02227, allocations: 0 / 293.4 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of Templates: time 0.009409/0.03168, allocations: 7.051 MB / 300.5 MB, free: 9.805 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8548747738823295]