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.001799/0.001799, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.002257/0.002257, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 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.493/1.493, allocations: 177.1 MB / 204.7 MB, free: 8.992 MB / 190.1 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 0.00195/0.00195, allocations: 57.47 kB / 325.6 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1234, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005529/0.1289, allocations: 3.443 MB / 382.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.131, allocations: 0.97 MB / 383.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.1313, allocations: 7.938 kB / 383.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.1315, allocations: 79.22 kB / 383.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.1319, allocations: 146.7 kB / 383.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.1324, allocations: 183.7 kB / 383.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007464/0.1331, allocations: 0.6265 MB / 384.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.1335, allocations: 140.6 kB / 384.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.1338, allocations: 243.1 kB / 384.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.1342, allocations: 226.8 kB / 385 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.313e-05/0.1343, allocations: 56 kB / 385 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.1344, allocations: 60 kB / 385.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.1345, allocations: 127.5 kB / 385.2 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.1348, allocations: 227 kB / 385.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007684/0.1356, allocations: 0.6537 MB / 386.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1356, allocations: 0 / 386.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1356, allocations: 0 / 386.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1356, allocations: 0 / 386.1 MB, free: 8.27 MB / 350.1 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.001629/0.1372, allocations: 0.8553 MB / 387 MB, free: 7.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1372, allocations: 11.98 kB / 387 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.1375, allocations: 68.59 kB / 387 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005328/0.138, allocations: 327 kB / 387.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.1381, allocations: 29.38 kB / 387.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.723e-05/0.1381, allocations: 48.38 kB / 387.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008106/0.1389, allocations: 487.2 kB / 387.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.139, allocations: 0 / 387.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.606e-05/0.139, allocations: 24 kB / 387.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.139, allocations: 8 kB / 387.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006069/0.1396, allocations: 319.8 kB / 388.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.1421, allocations: 1.628 MB / 389.9 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/0.1428, allocations: 347.9 kB / 390.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006084/0.1434, allocations: 257.3 kB / 390.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.1434, allocations: 4.328 kB / 390.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005253/0.144, allocations: 286.9 kB / 390.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.903e-06/0.144, allocations: 0 / 390.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.002352/0.1463, allocations: 0.771 MB / 391.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.1464, allocations: 85.11 kB / 391.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.1468, allocations: 308.5 kB / 391.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.1468, allocations: 41.64 kB / 391.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.147, allocations: 225.2 kB / 392.2 MB, free: 1.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.1471, allocations: 142.8 kB / 392.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.1473, allocations: 86.14 kB / 392.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.1474, allocations: 350.7 kB / 392.7 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.1477, allocations: 121 kB / 392.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.1481, allocations: 274.1 kB / 393.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005815/0.1486, allocations: 390.7 kB / 393.5 MB, free: 488 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1487, allocations: 0 / 393.5 MB, free: 488 kB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009084/0.1496, allocations: 0.5017 MB / 394 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1496, allocations: 8 kB / 394 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.1496, allocations: 7.938 kB / 394 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004813/0.1501, allocations: 155.5 kB / 394.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.1503, allocations: 67.84 kB / 394.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.1534, allocations: 2.371 MB / 396.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.1536, allocations: 47.77 kB / 396.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.1537, allocations: 20 kB / 396.7 MB, free: 13.2 MB / 366.1 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.0002438/0.1539, allocations: 178.4 kB / 396.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.154, allocations: 47.69 kB / 396.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.1541, allocations: 52.23 kB / 396.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1541, allocations: 7.938 kB / 396.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1541, allocations: 0 / 396.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.1541, allocations: 0 / 396.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.1556, allocations: 0.872 MB / 397.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1556, allocations: 0 / 397.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.1558, allocations: 35.92 kB / 397.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003953/0.1562, allocations: 144.9 kB / 398 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.1562, allocations: 16.02 kB / 398 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/0.1591, allocations: 2.382 MB / 400.4 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1591, allocations: 0 / 400.4 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.1603, allocations: 0.7037 MB / 401.1 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.1605, allocations: 71.66 kB / 401.2 MB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.1605, allocations: 8 kB / 401.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.1607, allocations: 15.98 kB / 401.2 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.1608, allocations: 39.88 kB / 401.2 MB, free: 8.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.1609, allocations: 16 kB / 401.2 MB, free: 8.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.1611, allocations: 219.1 kB / 401.5 MB, free: 8.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1611, allocations: 0 / 401.5 MB, free: 8.223 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006412/0.1617, allocations: 147.7 kB / 401.6 MB, free: 8.078 MB / 366.1 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.0001597/0.1619, allocations: 123.1 kB / 401.7 MB, free: 7.949 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.1629, allocations: 0.525 MB / 402.3 MB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1629, allocations: 3.938 kB / 402.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.1635, allocations: 367.2 kB / 402.6 MB, free: 7.035 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.1639, allocations: 79.36 kB / 402.7 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.1657, allocations: 0.8894 MB / 403.6 MB, free: 6.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.1659, allocations: 228.8 kB / 403.8 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.166, allocations: 39.27 kB / 403.8 MB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.1661, allocations: 24.5 kB / 403.9 MB, free: 5.727 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1661, allocations: 0 / 403.9 MB, free: 5.727 MB / 366.1 MB Notification: Performance of Templates: time 0.01329/0.1794, allocations: 6.488 MB / 410.4 MB, free: 15.39 MB / 382.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/DiodeBridge2Pulse/DiodeBridge2Pulse.csv","/var/lib/jenkins1/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.558054135995917]