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.001211/0.001211, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.006586/0.006586, allocations: 158.8 kB / 24.7 MB, free: 8.891 MB / 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 0.9015/0.9015, allocations: 177 MB / 204.9 MB, free: 5.758 MB / 186.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.433e-06/1.433e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.38e-05, allocations: 2.281 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.003118/0.003141, allocations: 3.46 MB / 329.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.004194, allocations: 0.9582 MB / 330.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.004336, allocations: 7.938 kB / 330.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.004506, allocations: 87.22 kB / 330.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002417/0.004748, allocations: 154.6 kB / 330.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.005025, allocations: 187.5 kB / 330.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.005426, allocations: 0.6532 MB / 331.3 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.005643, allocations: 140.6 kB / 331.4 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.005942, allocations: 359.2 kB / 331.8 MB, free: 9.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.006132, allocations: 187.4 kB / 332 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.006181, allocations: 56 kB / 332 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-05/0.006253, allocations: 60 kB / 332.1 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.006323, allocations: 123.5 kB / 332.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.006443, allocations: 191.5 kB / 332.4 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004476/0.006891, allocations: 0.6581 MB / 333 MB, free: 8.094 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.006893, allocations: 0 / 333 MB, free: 8.094 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.006893, allocations: 4 kB / 333.1 MB, free: 8.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.006899, allocations: 7.938 kB / 333.1 MB, free: 8.082 MB / 298.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.0009134/0.007812, allocations: 0.8438 MB / 333.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.007849, allocations: 15.98 kB / 333.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.007993, allocations: 68.59 kB / 334 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.00833, allocations: 318.3 kB / 334.3 MB, free: 6.773 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.008352, allocations: 33.38 kB / 334.3 MB, free: 6.742 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.008399, allocations: 44.38 kB / 334.4 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.008899, allocations: 479.9 kB / 334.8 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.008915, allocations: 8.125 kB / 334.8 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.008944, allocations: 27.92 kB / 334.9 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.008954, allocations: 12 kB / 334.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.009324, allocations: 319.8 kB / 335.2 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.01072, allocations: 1.624 MB / 336.8 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.01117, allocations: 343.7 kB / 337.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.01151, allocations: 253.3 kB / 337.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.01154, allocations: 4.328 kB / 337.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003003/0.01184, allocations: 286.9 kB / 337.7 MB, free: 3.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.493e-06/0.01184, allocations: 8 kB / 337.7 MB, free: 3.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001315/0.01315, allocations: 0.7709 MB / 338.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.0132, allocations: 93.05 kB / 338.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.01341, allocations: 308.5 kB / 338.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.01343, allocations: 29.7 kB / 338.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.01355, allocations: 237.3 kB / 339.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.01362, allocations: 138.8 kB / 339.3 MB, free: 1.613 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.925e-05/0.01371, allocations: 86.14 kB / 339.3 MB, free: 1.523 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.0138, allocations: 346.8 kB / 339.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.01395, allocations: 125 kB / 339.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.01416, allocations: 285.9 kB / 340.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.01451, allocations: 382 kB / 340.5 MB, free: 288 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01451, allocations: 0 / 340.5 MB, free: 288 kB / 298.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0005835/0.01509, allocations: 0.5051 MB / 341 MB, free: 15.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.01511, allocations: 4 kB / 341 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01511, allocations: 4 kB / 341 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/0.0154, allocations: 157.2 kB / 341.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.01553, allocations: 59.91 kB / 341.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.01728, allocations: 2.39 MB / 343.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.0174, allocations: 43.73 kB / 343.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.01742, allocations: 16 kB / 343.6 MB, free: 13 MB / 314.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.0001315/0.01755, allocations: 177.7 kB / 343.8 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.01758, allocations: 35.77 kB / 343.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.01763, allocations: 52.3 kB / 343.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01764, allocations: 4 kB / 343.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01764, allocations: 4 kB / 343.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.01764, allocations: 3.938 kB / 343.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008332/0.01848, allocations: 0.868 MB / 344.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01848, allocations: 4 kB / 344.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.189e-05/0.01857, allocations: 31.97 kB / 344.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002279/0.0188, allocations: 152.9 kB / 345 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.01882, allocations: 8 kB / 345 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.02041, allocations: 2.375 MB / 347.3 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.02042, allocations: 4 kB / 347.3 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006629/0.02108, allocations: 0.7036 MB / 348 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.02117, allocations: 71.64 kB / 348.1 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.0212, allocations: 15.83 kB / 348.1 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.0213, allocations: 19.98 kB / 348.1 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.02137, allocations: 39.72 kB / 348.2 MB, free: 8.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.02138, allocations: 11.98 kB / 348.2 MB, free: 8.246 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001435/0.02153, allocations: 219.1 kB / 348.4 MB, free: 8.035 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02153, allocations: 0 / 348.4 MB, free: 8.035 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003361/0.02186, allocations: 147.7 kB / 348.6 MB, free: 7.891 MB / 314.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.0001059/0.02197, allocations: 123.1 kB / 348.7 MB, free: 7.762 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005928/0.02256, allocations: 0.5212 MB / 349.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.02256, allocations: 4.875 kB / 349.2 MB, free: 7.223 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.02286, allocations: 366.4 kB / 349.6 MB, free: 6.852 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.02315, allocations: 72.11 kB / 349.6 MB, free: 6.785 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.02418, allocations: 0.887 MB / 350.5 MB, free: 5.863 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.02433, allocations: 232.8 kB / 350.7 MB, free: 5.609 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.02438, allocations: 28.5 kB / 350.8 MB, free: 5.582 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02438, allocations: 0 / 350.8 MB, free: 5.582 MB / 314.7 MB Notification: Performance of Templates: time 0.005745/0.03012, allocations: 7.206 MB / 358 MB, free: 14.41 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) [Timeout 480] 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.677369358018041]